.. oe:namespace:: OEBio

.. meta::
   :keywords: OEHasSecondaryStructure, HasSecondaryStructure


.. _OEBio_OEHasSecondaryStructure:

.. oe:class:: OEHasSecondaryStructure

   .. oe:api::


      class OEHasSecondaryStructure : public OESystem::OEUnaryPredicate<OEChem::OEAtomBase>

   A predicate that returns ``true`` when the atom belongs to a residue
   that has a secondary structure assignment.

   The following methods are publicly inherited from :ref:`OEUnaryPredicate <OESystem_OEUnaryPredicate>`:

   ============================================================================== ============================================================================== ===============================================================================
   :oe:meth:`operator()<OESystem::OEUnaryPredicate::operator()>`                  :oe:meth:`CreateCopy<OESystem::OEUnaryPredicate::CreateCopy>`                  :oe:meth:`CreatePredicateCopy<OESystem::OEUnaryPredicate::CreatePredicateCopy>`
   ============================================================================== ============================================================================== ===============================================================================

   The following methods are publicly inherited from :ref:`OEUnaryFunction <OESystem_OEUnaryFunction>`:

   ============================================================ ============================================================ ===========================================================
   :oe:meth:`operator()<OESystem::OEUnaryFunction::operator()>` :oe:meth:`CreateCopy<OESystem::OEUnaryFunction::CreateCopy>`                                                            
   ============================================================ ============================================================ ===========================================================

   .. oe:method:: Constructors

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

         .. oe:api::

            OEHasSecondaryStructure(int ssType = OESecondaryStructure::Unassigned)
            OEHasSecondaryStructure(const OEHasSecondaryStructure& rhs)

      .. oe:language:: python

         .. oe:api:: python

            OEHasSecondaryStructure(ssType: int) -> OEHasSecondaryStructure
            OEHasSecondaryStructure(rhs: OEHasSecondaryStructure) -> OEHasSecondaryStructure

      Default and copy constructors.

   .. oe:method:: operator()

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

         .. oe:api::

            bool operator()(const OEChem::OEAtomBase& atom) const

      .. oe:language:: python

         .. oe:api:: python

            __call__(atom: OEAtomBase) -> bool

   .. oe:method:: CreateCopy

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

         .. oe:api::

            OESystem::OEUnaryFunction<OEChem::OEAtomBase , bool>* CreateCopy() const

      .. oe:language:: python

         .. oe:api:: python

            CreateCopy() -> OEHasSecondaryStructure

