.. oe:namespace:: OESzmap

.. meta::
   :keywords: OEGetComponentName

.. oe:function:: OEGetComponentName

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

      .. oe:api::

         const char* OEGetComponentName(unsigned int componentType)

   .. oe:language:: python

      .. oe:api:: python

         OEGetComponentName(componentType: int) -> str

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


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

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

   .. :oe:language:: python

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


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

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


