.. oe:namespace:: OEBio


.. _OEBio_OEProteinInteractionHintComponent:

.. oe:class:: OEProteinInteractionHintComponent

   .. oe:api::

      class OEProteinInteractionHintComponent : public OEInteractionHintComponentTypeBase

   Built-in component type that classifies molecules as being 'protein' when
   stored in a :ref:`OEInteractionHintContainer <OEBio_OEInteractionHintContainer>` object.

   The following methods are publicly inherited from :ref:`OEInteractionHintComponentTypeBase <OEBio_OEInteractionHintComponentTypeBase>`:

   ============================================================================ ============================================================================ ============================================================================
   :oe:meth:`operator=<OEBio::OEInteractionHintComponentTypeBase::operator=>`   :oe:meth:`operator==<OEBio::OEInteractionHintComponentTypeBase::operator==>` :oe:meth:`GetName<OEBio::OEInteractionHintComponentTypeBase::GetName>`
   :oe:meth:`operator!=<OEBio::OEInteractionHintComponentTypeBase::operator!=>` :oe:meth:`CreateCopy<OEBio::OEInteractionHintComponentTypeBase::CreateCopy>` :oe:meth:`IsValid<OEBio::OEInteractionHintComponentTypeBase::IsValid>`
   ============================================================================ ============================================================================ ============================================================================

   .. oe:method:: Constructors

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

         .. oe:api::

            OEProteinInteractionHintComponent()

      .. oe:language:: python

         .. oe:api:: python

            OEProteinInteractionHintComponent() -> OEProteinInteractionHintComponent

      Default constructor.

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

         .. oe:api::

            OEProteinInteractionHintComponent(const OEProteinInteractionHintComponent& rhs)

      .. oe:language:: python

         .. oe:api:: python

            OEProteinInteractionHintComponent(arg2: OEProteinInteractionHintComponent) -> OEProteinInteractionHintComponent

      Copy constructor.


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

      .. oe:api::

         OEProteinInteractionHintComponent &operator=(const OEProteinInteractionHintComponent &rhs)

      Assignment operator.


   .. oe:method:: CreateCopy

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

         .. oe:api::

            OEInteractionHintComponentTypeBase* CreateCopy() const

      .. oe:language:: python

         .. oe:api:: python

            CreateCopy() -> OEInteractionHintComponentTypeBase

      Deep copy constructor that returns a copy of the object.
      The memory for the returned :ref:`OEProteinInteractionHintComponent <OEBio_OEProteinInteractionHintComponent>`
      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.


   .. oe:method:: IsValid

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

         .. oe:api::

            bool IsValid(const OEChem::OEMolBase &) const

      .. oe:language:: python

         .. oe:api:: python

            IsValid(arg2: Union[OEGraphMol,OEMol,OEQMol]) -> bool

      Returns whether a molecule can be inserted to a
      :ref:`OEInteractionHintContainer <OEBio_OEInteractionHintContainer>` object with a
      :ref:`OEProteinInteractionHintComponent <OEBio_OEProteinInteractionHintComponent>` type *i.e.*
      it returns true if the molecule has 3D coordinates.
