.. index:: pair: namespace; gpr::optim_abi .. _doxid-namespacegpr_1_1optim__abi: namespace gpr::optim_abi ======================== .. toctree:: :hidden: struct_gpr_optim_abi_ResultLayoutStamp.rst Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block namespace optim_abi { // structs struct :ref:`ResultLayoutStamp`; // global variables std::uint32_t :ref:`kResultLayoutVersion` = 2; // global functions :ref:`ResultLayoutStamp` :ref:`libraryResultLayout`(); bool :target:`operator==`(const :ref:`ResultLayoutStamp`& a, const :ref:`ResultLayoutStamp`& b); :ref:`ResultLayoutStamp` :ref:`compiledResultLayout`(); std::string :target:`describe`(const :ref:`ResultLayoutStamp`& stamp); std::string :ref:`resultLayoutMismatch`(const :ref:`ResultLayoutStamp`& driver, const :ref:`ResultLayoutStamp`& library); void :target:`refuseMismatchedResultLayout`(const :ref:`ResultLayoutStamp`& driver, const :ref:`ResultLayoutStamp`& library); void :target:`requireResultLayout`(); } // namespace optim_abi .. _details-namespacegpr_1_1optim__abi: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Global Variables ---------------- .. index:: pair: variable; kResultLayoutVersion .. _doxid-namespacegpr_1_1optim__abi_1a42a051f10ceca8a9a3c02a23bc82e6fc: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::uint32_t kResultLayoutVersion = 2 Bump when GPNEBResult or OCINEBResult changes layout. 2: GPNEBResult::prior_observations (OCINEBResult embeds that result). Global Functions ---------------- .. index:: pair: function; libraryResultLayout .. _doxid-namespacegpr_1_1optim__abi_1afa4bd67d3bfba6aff5de639af4417487: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`ResultLayoutStamp` libraryResultLayout() What libgpridge was built with. Defined in the library, not inline, so a stale driver cannot satisfy the check with its own copy. .. index:: pair: function; compiledResultLayout .. _doxid-namespacegpr_1_1optim__abi_1abd83e0a388be05982686b165d10ffd44: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`ResultLayoutStamp` compiledResultLayout() What this translation unit compiled against. .. index:: pair: function; resultLayoutMismatch .. _doxid-namespacegpr_1_1optim__abi_1af7d3eaf6c65c155d8386c7c5b8c532c0: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::string resultLayoutMismatch(const :ref:`ResultLayoutStamp`& driver, const :ref:`ResultLayoutStamp`& library) Empty when the stamps agree. Otherwise a message naming both.