.. oe:namespace:: OEBio


.. _OEBio_OEIsCovalentInteractionHint:

.. oe:class:: OEIsCovalentInteractionHint

   .. oe:api::

      class OEIsCovalentInteractionHint : public OESystem::OEUnaryPredicate<OEInteractionHint>

   This class represents :ref:`OEIsCovalentInteractionHint <OEBio_OEIsCovalentInteractionHint>` functor that
   identifies **covalent** interactions.

   .. seealso::

      * :ref:`OECovalentInteractionHint <OEBio_OECovalentInteractionHint>` class
      * :ref:`OEInteractionHint <OEBio_OEInteractionHint>` class

   .. oe:method:: Constructors

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

         .. oe:api::

            OEIsCovalentInteractionHint()

      .. oe:language:: python

         .. oe:api:: python

            OEIsCovalentInteractionHint() -> OEIsCovalentInteractionHint
            OEIsCovalentInteractionHint(arg2: OEIsCovalentInteractionHint) -> OEIsCovalentInteractionHint

      Default constructor.


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

      .. oe:api::

         OEIsCovalentInteractionHint & operator=(const OEIsCovalentInteractionHint &)

      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 clash
      type *i.e.* the :oe:meth:`OEBio::OEInteractionHint::GetInteractionType`
      method returns an :ref:`OECovalentInteractionHint <OEBio_OECovalentInteractionHint>`
      type.


   .. 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:`OEIsCovalentInteractionHint <OEBio_OEIsCovalentInteractionHint>`
      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.
