.. oe:namespace:: OEIUPAC

.. meta::
   :keywords: OENameLocant

.. oe:function:: OENameLocant

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

      .. oe:api::

         std::string OENameLocant(unsigned int loc, bool iupac = false)

   .. oe:language:: python

      .. oe:api:: python

         OENameLocant(loc: int, iupac: bool = False) -> str

   Generate the lexical form of a *Lexichem* locant index. The
   molecules created by the function
   :oe:func:`OEIUPAC::OEParseIUPACName` are annotated with locant
   information in each atom's integer atom type field. These locant
   indices may be retrieved using *OEChem*'s
   :oe:func:`OEChem::OEAtomBase::GetIntType` method.
