.. oe:namespace:: OEBio



.. _OEBio_OEIsIntraInteractionHint:

.. oe:class:: OEIsIntraInteractionHint

   .. oe:api::

      class OEIsIntraInteractionHint : public OESystem::OEUnaryPredicate<OEInteractionHint>

   This class represents :ref:`OEIsIntraInteractionHint <OEBio_OEIsIntraInteractionHint>` functor that
   identifies connections (:ref:`OEInteractionHint <OEBio_OEInteractionHint>`)
   within the same molecule stored in the :ref:`OEInteractionHintContainer <OEBio_OEInteractionHintContainer>`
   object.

   .. seealso::

      * :oe:meth:`OEBio::OEInteractionHintContainer::GetInteractions` method
      * :ref:`OEIsInterInteractionHint <OEBio_OEIsInterInteractionHint>` functor
      * :oe:meth:`OEBio::OEInteractionHint::IsIntra` method

   .. oe:method:: Constructors

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

         .. oe:api::

            OEIsIntraInteractionHint()

      .. oe:language:: python

         .. oe:api:: python

            OEIsIntraInteractionHint() -> OEIsIntraInteractionHint
            OEIsIntraInteractionHint(arg2: OEIsIntraInteractionHint) -> OEIsIntraInteractionHint

      Default constructor.


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

      .. oe:api::

         OEIsIntraInteractionHint & operator=(const OEIsIntraInteractionHint &)

      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 within the same molecule.


   .. 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:`OEIsIntraInteractionHint <OEBio_OEIsIntraInteractionHint>`
      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.
