.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEGetFormatString

.. oe:function:: OEGetFormatString

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

      .. oe:api::

         const char* OEGetFormatString(unsigned int tag)

   .. oe:language:: python

      .. oe:api:: python

         OEGetFormatString(tag: int) -> str

   Returns the name of the file format associated with the symbolic
   constant 'tag' from the :ref:`the OEFormat namespace <OEChem_OEFormat>`.

.. seealso::

  .. oe:language:: c++

      * Example program :ref:`oecheminfo.cpp<section_example_oechem_oecheminfo>`

  .. oe:language:: python

      * Example program :ref:`oecheminfo.py<section_example_oechem_oecheminfo>`

  .. oe:language:: java

      * Example program :ref:`OEChemInfo.java<section_example_oechem_oecheminfo>`

  .. oe:language:: csharp

      * Example program :ref:`OEChemInfo.cs<section_example_oechem_oecheminfo>`
