.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEGetStyleIndex

.. oe:function:: OEGetStyleIndex

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

      .. oe:api::

         unsigned int OEGetStyleIndex(const OEAtomBase& atom)
         unsigned int OEGetStyleIndex(const OEConfBase& conf)

   .. oe:language:: python

      .. oe:api:: python

         OEGetStyleIndex(atom: OEAtomBase) -> int
         OEGetStyleIndex(conf: OEConfBase) -> int

   Returns the style index of a specified :ref:`OEAtomBase <OEChem_OEAtomBase>` or 
   :ref:`OEConfBase <OEChem_OEConfBase>` as an integer.