.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEGetFileType

.. oe:function:: OEGetFileType

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

      .. oe:api::

         unsigned int OEGetFileType(const char* ext)

   .. oe:language:: python

      .. oe:api:: python

         OEGetFileType(ext: str) -> int

   Returns a constant from the :ref:`the OEFormat namespace <OEChem_OEFormat>` for
   the file extension 'ext'.
