.. oe:namespace:: OEBio


.. _OEBio_OEIsNonIdealHBondInteractionHint:

.. oe:class:: OEIsNonIdealHBondInteractionHint

   .. oe:api::

      class OEIsNonIdealHBondInteractionHint : public OESystem::OEUnaryPredicate<OEInteractionHint>

   This class represents :ref:`OEIsNonIdealHBondInteractionHint <OEBio_OEIsNonIdealHBondInteractionHint>` functor that
   identifies **non-ideal hydrogen bond** (i.e. hydrogen bonds with long donor-acceptor distances
   or poor geometries) interactions.

   .. seealso::

      * :ref:`OEHBondInteractionHint <OEBio_OEHBondInteractionHint>` class
      * :oe:constns:`OEBio::OEHBondInteractionHintType` namespace
      * :ref:`OEInteractionHint <OEBio_OEInteractionHint>` class
      * :ref:`OEPerceiveInteractionOptions <OEBio_OEPerceiveInteractionOptions>` class
      * :ref:`OEIsHBondInteractionHint <OEBio_OEIsHBondInteractionHint>` predicate



   .. ################################################################
      #
      ################################################################

   .. oe:method:: Constructors

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

         .. oe:api::

            OEIsNonIdealHBondInteractionHint()

      .. oe:language:: python

         .. oe:api:: python

            OEIsNonIdealHBondInteractionHint() -> OEIsNonIdealHBondInteractionHint

      Default constructor.


   .. ################################################################
      #
      ################################################################

   .. oe:method:: operator()

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

         .. oe:api::

            bool operator()(const OEInteractionHint& c) const

      .. oe:language:: python

         .. oe:api:: python

            __call__(c: OEInteractionHint) -> bool

      Returns ``true``, if the given interaction has non-ideal hydrogen bonding
      type *i.e.* the :oe:meth:`OEBio::OEInteractionHint::GetInteractionType`
      method returns an :ref:`OEHBondInteractionHint <OEBio_OEHBondInteractionHint>` with the following types:

      * :oe:const:`OEBio::OEHBondInteractionHintType::NonIdealLigandAccepts`
      * :oe:const:`OEBio::OEHBondInteractionHintType::NonIdealLigandDonates`
      * :oe:const:`OEBio::OEHBondInteractionHintType::NonIdealProteinAccepts`
      * :oe:const:`OEBio::OEHBondInteractionHintType::NonIdealProteinDonates`


   .. ################################################################
      #
      ################################################################

   .. 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:`OEIsNonIdealHBondInteractionHint <OEBio_OEIsNonIdealHBondInteractionHint>`
      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.
