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

.. oe:namespace:: OESpruce


.. _OESpruce_OEGetSuperposeMethodFromName:

.. oe:function:: OEGetSuperposeMethodFromName

   .. attention::

      |TWOLANGUAGE|

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

      .. oe:api::

         unsigned OEGetSuperposeMethodFromName(const std::string& name)

   .. oe:language:: python

      .. oe:api:: python

         OEGetSuperposeMethodFromName(name: str) -> int

   Returns the corresponding constant defined in the :oe:constns:`OESpruce::OESuperposeMethod` namespace for the given superposition method name.
