.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEGetFormatExtension

.. oe:function:: OEGetFormatExtension

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

      .. oe:api::

         const char* OEGetFormatExtension(unsigned int tag)

   .. oe:language:: python

      .. oe:api:: python

         OEGetFormatExtension(tag: int) -> str


   Returns a comma-separated list of possible file extensions
   corresponding to the specified parameter. The parameter, 'tag', should
   be drawn 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>`

