.. include:: ../../toolkit-substitutions

.. oe:namespace:: OESpruce

.. oe:function:: OEGetExperimentTypeID

   .. attention::

      |TWOLANGUAGE|

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

      .. oe:api::

         unsigned OEGetExperimentTypeID(const std::string& expTypeName)

   .. oe:language:: python

      .. oe:api:: python

         OEGetExperimentTypeID(expTypeName: str) -> int

   This function returns an unsigned integer version of the experiment type from the string argument `expTypeName`. The experiment types are contained in the :oe:constns:`OESpruce::OEExperimentType` namespace.