.. index:: pair: namespace; gpr::readcon_abi .. _doxid-namespacegpr_1_1readcon__abi: namespace gpr::readcon_abi ========================== .. toctree:: :hidden: struct_gpr_readcon_abi_Stamp.rst Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block namespace readcon_abi { // structs struct :ref:`Stamp`; // global functions std::string :target:`describe`(const :ref:`Stamp`& stamp); std::string :ref:`mismatch`(const :ref:`Stamp`& header, const :ref:`Stamp`& library); :ref:`Stamp` :target:`headerStamp`(); :ref:`Stamp` :target:`libraryStamp`(); void :ref:`requireCompatibleLibrary`(); } // namespace readcon_abi .. _details-namespacegpr_1_1readcon__abi: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Global Functions ---------------- .. index:: pair: function; mismatch .. _doxid-namespacegpr_1_1readcon__abi_1a16f7272b306eb7ce22745483f9d2c604: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::string mismatch(const :ref:`Stamp`& header, const :ref:`Stamp`& library) Empty when the library agrees with the header on major and layout revision and is not older in minor; otherwise a message naming both. .. index:: pair: function; requireCompatibleLibrary .. _doxid-namespacegpr_1_1readcon__abi_1a9ab765249309928b622646d8aae6363e: .. ref-code-block:: cpp :class: doxyrest-title-code-block void requireCompatibleLibrary() Checks the loaded library once, before the first readcon call. Throws std::runtime_error on a mismatch; there is no fallback.