.. include:: ../../toolkit-substitutions

.. oe:namespace:: OEGrapheme

.. oe:class:: OEMonomerGlyphStyleDefault

   .. attention::

      |PRELIMINARY-API|

   .. oe:api::

      class OEMonomerGlyphStyleDefault: public OEMonomerGlyphStyleBase

   The :oe:cls:`OEGrapheme::OEMonomerGlyphStyleDefault` class is used 
   to assign values from the :oe:constns:`OEGrapheme::OECircleStyle` namespace to each monomers for depiction.

   The following methods are publicly inherited from :oe:cls:`OEGrapheme::OEMonomerGlyphStyleBase`:

   ======================================================================== =======================================================================
   :oe:meth:`CreateCopy<OEGrapheme::OEMonomerGlyphStyleBase::CreateCopy>`   :oe:meth:`operator()<OEGrapheme::OEMonomerGlyphStyleBase::operator()>`
   ======================================================================== =======================================================================

   .. oe:method:: Constructors

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

         .. oe:api::

            OEMonomerGlyphStyleDefault()

      .. oe:language:: python

         .. oe:api:: python

            OEMonomerGlyphStyleDefault() -> OEMonomerGlyphStyleDefault

      Default constructor.

   .. oe:method:: operator()

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

         .. oe:api::

            unsigned operator()(const OEChem::OEMonomerData &) const

      .. oe:language:: python

         .. oe:api:: python

            __call__(arg2: OEMonomerData) -> int

      Returns :oe:const:`OEGrapheme::OECircleStyle::Default` if the monomer is a standard amino acid, and 
      :oe:const:`OEGrapheme::OECircleStyle::Simpson` otherwise.

   .. oe:method:: CreateCopy

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

         .. oe:api::

            base_type* CreateCopy() const

      .. oe:language:: python

         .. oe:api:: python

            CreateCopy() -> OEMonomerGlyphStyleBase

      Deep copy constructor that returns a copy of the object.
      The memory for the returned :oe:cls:`OEGrapheme::OEMonomerGlyphStyleDefault`
      object is dynamically allocated and owned by the caller.