.. include:: ../../toolkit-substitutions

.. oe:namespace:: OEBio

.. oe:function:: OESerializeInteractionsHintContainer

   .. attention::

      |PRELIMINARY-API|

   .. oe:language:: c++ java csharp

      .. oe:api::

         bool OESerializeInteractionsHintContainer(OEChem::OEMolBase& protein,
                                                   OEChem::OEMolBase& ligand,
                                                   const OEInteractionHintContainer& asite)

   .. oe:language:: python

      .. oe:api:: python

         OESerializeInteractionsHintContainer(protein: Union[OEGraphMol,OEMol,OEQMol],
                                              ligand: Union[OEGraphMol,OEMol,OEQMol],
                                              asite: OEInteractionHintContainer) -> bool

   Serializes the interaction hints between a protein and a ligand from a given 
   container and stores the serialized data in the protein and ligand molecules.
   The molecules can then be written to an :file:`.oeb` file and the interaction hints can
   be reconstructed using the :oe:func:`OEBio::OEConstructInteractionHintContainer` function.

   .. seealso::

      * :oe:func:`OEBio::OEConstructInteractionHintContainer` function
