.. oe:namespace:: OEBio


.. _OEBio_OEIsInterInteractionHint:

.. oe:class:: OEIsInterInteractionHint

   .. oe:api::

      class OEIsInterInteractionHint : public OESystem::OEUnaryPredicate<OEInteractionHint>

   This class represents :ref:`OEIsInterInteractionHint <OEBio_OEIsInterInteractionHint>` functor that
   identifies connections (:ref:`OEInteractionHint <OEBio_OEInteractionHint>`)
   within two different molecules stored in the :ref:`OEInteractionHintContainer <OEBio_OEInteractionHintContainer>`
   object.

   .. seealso::

      * :oe:meth:`OEBio::OEInteractionHintContainer::GetInteractions` method
      * :ref:`OEIsIntraInteractionHint <OEBio_OEIsIntraInteractionHint>` functor
      * :oe:meth:`OEBio::OEInteractionHint::IsInter` method

   .. oe:method:: Constructors

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

         .. oe:api::

            OEIsInterInteractionHint()

      .. oe:language:: python

         .. oe:api:: python

            OEIsInterInteractionHint() -> OEIsInterInteractionHint
            OEIsInterInteractionHint(arg2: OEIsInterInteractionHint) -> OEIsInterInteractionHint

      Default constructor.


   .. oe:method:: operator=
      :language: c++

      .. oe:api::

         OEIsInterInteractionHint & operator=(const OEIsInterInteractionHint &)

      Assignment operator.



   .. oe:method:: operator()

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

         .. oe:api::

            bool operator()(const OEInteractionHint& i) const

      .. oe:language:: python

         .. oe:api:: python

            __call__(i: OEInteractionHint) -> bool

      Returns ``true``, if the interaction is between two
      different molecules.


   .. oe:method:: CreateCopy

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

         .. oe:api::

            OESystem::OEUnaryFunction<OEInteractionHint , bool>* CreateCopy() const

      .. oe:language:: python

         .. oe:api:: python

            CreateCopy() -> OEUnaryInteractionHintBoolFunc

      Deep copy constructor that returns a copy of the object.
      The memory for the returned :ref:`OEIsInterInteractionHint <OEBio_OEIsInterInteractionHint>`
      object is dynamically allocated  and owned by the caller.

      .. oe:language:: c++

         The returned copy should be deallocated using C++
         delete operator in order to prevent a memory leak.
