.. include:: ../substitutions

.. oe:namespace:: OEMolProp

.. meta::
   :keywords: OEGetFilterType

.. _OEMolProp_OEGetFilterType:

.. oe:function:: OEGetFilterType

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

      .. oe:api::

         unsigned int OEGetFilterType(const OESystem::OEInterface& itf,
                                      std::string name = OEFilterParamName::Type)

   .. oe:language:: python

      .. oe:api:: python

         OEGetFilterType(itf: OEInterface, name: str) -> int

   Returns the filter type initialized in the given interface.
   The return value is taken from the :oe:constns:`OEMolProp::OEFilterType`
   namespace.

   *itf*
      The interface in which the parameter is configured.

   *name*
      The name of the parameter.

   .. seealso::

      * :oe:func:`OEMolProp::OEConfigureFilterParams` function
      * :oe:func:`OEMolProp::OEConfigureFilterType` function
      * :oe:constns:`OEMolProp::OEFilterType` namespace
