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

.. oe:namespace:: OEGrapheme

.. oe:class:: OEMonomerGlyphStyleBase

   .. attention::

      |PRELIMINARY-API|

   .. oe:api::

      OESystem::OEUnaryFunction<OEChem::OEMonomerData, unsigned, true, true>  OEMonomerGlyphStyleBase;

   :oe:cls:`OEGrapheme::OEMonomerGlyphStyleBase` is an abstract class that
   assigns values from the :oe:constns:`OEGrapheme::OECircleStyle` namespace to monomers for depiction.

   The following classes derive from this abstract class:
   
   * :oe:cls:`OEGrapheme::OEMonomerGlyphStyleDefault` class

   .. oe:method:: operator()

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

         .. oe:api::

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

      .. oe:language:: python

         .. oe:api:: python

            __call__(arg0: OEMonomerData) -> int

      This is a virtual const method that must be implemented in the concrete
      derived classes.

   .. oe:method:: CreateCopy

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

         .. oe:api::

            base_type* CreateCopy() const = 0

      .. oe:language:: python

         .. oe:api:: python

            CreateCopy() -> OEMonomerGlyphStyleBase

      Virtual const constructor which allows copying of concrete
      derived objects using a reference to this base class.
