.. oe:namespace:: OEBio



.. _OEBio_OEIsUnpairedProteinInteractionHint:

.. oe:class:: OEIsUnpairedProteinInteractionHint

   .. oe:api::

      class OEIsUnpairedProteinInteractionHint : public OESystem::OEUnaryPredicate<OEInteractionHint>

   This class represents :ref:`OEIsUnpairedProteinInteractionHint <OEBio_OEIsUnpairedProteinInteractionHint>` functor that
   identifies interactions with only protein component..

   .. seealso::

      * :ref:`OEInteractionHint <OEBio_OEInteractionHint>` class

   .. oe:method:: Constructors

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

         .. oe:api::

            OEIsUnpairedProteinInteractionHint()

      .. oe:language:: python

         .. oe:api:: python

            OEIsUnpairedProteinInteractionHint() -> OEIsUnpairedProteinInteractionHint
            OEIsUnpairedProteinInteractionHint(arg2: OEIsUnpairedProteinInteractionHint) -> OEIsUnpairedProteinInteractionHint

      Default constructor.


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

      .. oe:api::

         OEIsUnpairedProteinInteractionHint & operator=(const OEIsUnpairedProteinInteractionHint &)

      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 only a protein
      component. 


   .. 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:`OEIsUnpairedProteinInteractionHint <OEBio_OEIsUnpairedProteinInteractionHint>`
      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.


