.. oe:namespace:: OEBio


.. _OEBio_OEIsClashingHBondInteractionHint:

.. oe:class:: OEIsClashingHBondInteractionHint

   .. oe:api::

      class OEIsClashingHBondInteractionHint : public OESystem::OEUnaryPredicate<OEInteractionHint>

   This class represents :ref:`OEIsClashingHBondInteractionHint <OEBio_OEIsClashingHBondInteractionHint>` functor that
   identifies **clashing** hydrogen bond interactions, i.e. geometrically
   unfavorable interactions between two acceptors or two donors that cannot
   form a proper hydrogen bond.

   .. seealso::

      * :ref:`OEHBondInteractionHint <OEBio_OEHBondInteractionHint>` class
      * :oe:constns:`OEBio::OEHBondInteractionHintType` namespace
      * :ref:`OEInteractionHint <OEBio_OEInteractionHint>` class

      * :ref:`OEIsHBondInteractionHint <OEBio_OEIsHBondInteractionHint>` predicate
      * :ref:`OEIsNonIdealHBondInteractionHint <OEBio_OEIsNonIdealHBondInteractionHint>` predicate
      * :ref:`OEIsUnpairedInteractionHint <OEBio_OEIsUnpairedInteractionHint>` predicate

   .. oe:method:: Constructors

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

         .. oe:api::

            OEIsClashingHBondInteractionHint()

      .. oe:language:: python

         .. oe:api:: python

            OEIsClashingHBondInteractionHint() -> OEIsClashingHBondInteractionHint
            OEIsClashingHBondInteractionHint(arg2: OEIsClashingHBondInteractionHint) -> OEIsClashingHBondInteractionHint

      Default constructor.


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

      .. oe:api::

         OEIsClashingHBondInteractionHint & operator=(const OEIsClashingHBondInteractionHint &)

      Assignment operator.



   .. 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 a clashing hydrogen bond
      type *i.e.* the :oe:meth:`OEBio::OEInteractionHint::GetInteractionType`
      method returns an :ref:`OEHBondInteractionHint <OEBio_OEHBondInteractionHint>`
      with one of the following types:

      * :oe:const:`OEBio::OEHBondInteractionHintType::ClashAcceptorAcceptor`
      * :oe:const:`OEBio::OEHBondInteractionHintType::ClashDonorDonor`


   .. 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:`OEIsClashingHBondInteractionHint <OEBio_OEIsClashingHBondInteractionHint>`
      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.
