.. oe:namespace:: OESzmap

.. meta::
   :keywords: OEGetEnsembleName

.. oe:function:: OEGetEnsembleName

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

      .. oe:api::

         const char* OEGetEnsembleName(unsigned int ensembleType,
                                       bool longName = false)

   .. oe:language:: python

      .. oe:api:: python

         OEGetEnsembleName(ensembleType: int, longName: bool = False) -> str

   Returns a character string of the standard name for the specified
   :oe:constns:`OESzmap::OEEnsemble` type.

   By default, a short form of the name, suitable for column headings, is provided.
   If the optional ``longName`` argument is set to *true*, a more readable
   name is provided.


   .. oe:source:: SzmapCalcs.cpp
      :language: c++
      :noindent:
      :frag:     SNIPPET-GET-LONG-ENSEMBLE-NAME

   .. oe:source:: SzmapCalcs.py
      :language: python
      :noindent:
      :frag:     SNIPPET-GET-LONG-ENSEMBLE-NAME

   .. :oe:language:: python

        :ref:`Full listing. <listing-SzmapCalcs.py>`


   .. oe:source:: SzmapCalcs.java
      :language: java
      :noindent:
      :frag:     SNIPPET-GET-LONG-ENSEMBLE-NAME

   .. oe:source:: SzmapCalcs.cs
      :language: csharp
      :noindent:
      :frag:     SNIPPET-GET-LONG-ENSEMBLE-NAME


