.. oe:namespace:: OEBio


.. _OEBio_OEIsIntermolecularSaltBridgeInteractionHint:

.. oe:class:: OEIsIntermolecularSaltBridgeInteractionHint

   .. oe:api::

      class OEIsIntermolecularSaltBridgeInteractionHint : public OESystem::OEUnaryPredicate<OEInteractionHint>

   This class represents :ref:`OEIsIntermolecularSaltBridgeInteractionHint <OEBio_OEIsIntermolecularSaltBridgeInteractionHint>` functor that
   identifies **salt-bridge** interactions between atoms in different molecules
   (i.e. between the ligand and the protein).

   .. seealso::

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

      * :ref:`OEIsSaltBridgeInteractionHint <OEBio_OEIsSaltBridgeInteractionHint>` predicate
      * :ref:`OEIsIntramolecularSaltBridgeInteractionHint <OEBio_OEIsIntramolecularSaltBridgeInteractionHint>` predicate

   .. oe:method:: Constructors

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

         .. oe:api::

            OEIsIntermolecularSaltBridgeInteractionHint()

      .. oe:language:: python

         .. oe:api:: python

            OEIsIntermolecularSaltBridgeInteractionHint() -> OEIsIntermolecularSaltBridgeInteractionHint
            OEIsIntermolecularSaltBridgeInteractionHint(arg2: OEIsIntermolecularSaltBridgeInteractionHint) -> OEIsIntermolecularSaltBridgeInteractionHint

      Default constructor.


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

      .. oe:api::

         OEIsIntermolecularSaltBridgeInteractionHint & operator=(const OEIsIntermolecularSaltBridgeInteractionHint &)

      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 intermolecular
      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::LigandNegative`
      * :oe:const:`OEBio::OESaltBridgeInteractionHintType::LigandPositive`


   .. 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:`OEIsIntermolecularSaltBridgeInteractionHint <OEBio_OEIsIntermolecularSaltBridgeInteractionHint>`
      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.
