.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OETriposTypeIndex

.. oe:function:: OETriposTypeIndex

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

      .. oe:api::

         unsigned int OETriposTypeIndex(const char* name)

   .. oe:language:: python

      .. oe:api:: python

         OETriposTypeIndex(name: str) -> int

   Returns the integer atom type, as encoded by the
   :oe:constns:`OEChem::OETriposType` namespace, that corresponds to the
   given Tripos Sybyl atom type string.  For example,
   :oe:func:`OEChem::OETriposTypeIndex` returns the integer value
   :oe:const:`OEChem::OETriposType::Npl3` for ``"N.pl3"``.

   This function is the inverse of :oe:func:`OEChem::OETriposTypeName`.

