.. oe:namespace:: OEBio


.. _OEBio_OEIsIntramolecularSaltBridgeInteractionHint:

.. oe:class:: OEIsIntramolecularSaltBridgeInteractionHint

   .. oe:api::

      class OEIsIntramolecularSaltBridgeInteractionHint : public OESystem::OEUnaryPredicate<OEInteractionHint>

   This class represents :ref:`OEIsIntramolecularSaltBridgeInteractionHint <OEBio_OEIsIntramolecularSaltBridgeInteractionHint>` functor that
   identifies **intramolecular salt-bridge** interactions between oppositely
   charged groups within the same molecule (ligand or protein).

   .. seealso::

      * :ref:`OESaltBridgeInteractionHint <OEBio_OESaltBridgeInteractionHint>` class
      * :oe:constns:`OEBio::OESaltBridgeInteractionHintType` namespace
      * :ref:`OEInteractionHint <OEBio_OEInteractionHint>` class

      * :ref:`OEIsSaltBridgeInteractionHint <OEBio_OEIsSaltBridgeInteractionHint>` predicate
      * :ref:`OEIsIntermolecularSaltBridgeInteractionHint <OEBio_OEIsIntermolecularSaltBridgeInteractionHint>` predicate

   .. oe:method:: Constructors

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

         .. oe:api::

            OEIsIntramolecularSaltBridgeInteractionHint()

      .. oe:language:: python

         .. oe:api:: python

            OEIsIntramolecularSaltBridgeInteractionHint() -> OEIsIntramolecularSaltBridgeInteractionHint
            OEIsIntramolecularSaltBridgeInteractionHint(arg2: OEIsIntramolecularSaltBridgeInteractionHint) -> OEIsIntramolecularSaltBridgeInteractionHint

      Default constructor.


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

      .. oe:api::

         OEIsIntramolecularSaltBridgeInteractionHint & operator=(const OEIsIntramolecularSaltBridgeInteractionHint &)

      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 given interaction has an intramolecular
      salt-bridge type *i.e.* the
      :oe:meth:`OEBio::OEInteractionHint::GetInteractionType` method returns an
      :ref:`OESaltBridgeInteractionHint <OEBio_OESaltBridgeInteractionHint>` with
      one of the following types:

      * :oe:const:`OEBio::OESaltBridgeInteractionHintType::IntramolecularLigand`
      * :oe:const:`OEBio::OESaltBridgeInteractionHintType::IntramolecularProtein`


   .. 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:`OEIsIntramolecularSaltBridgeInteractionHint <OEBio_OEIsIntramolecularSaltBridgeInteractionHint>`
      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.
