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

.. oe:namespace:: OEBio

.. oe:function:: OEGetDesignUnitComponentNamesFromMask

   .. attention::

      |TWOLANGUAGE|

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

      .. oe:api::

         std::string OEGetDesignUnitComponentNamesFromMask(const unsigned mask,
                                                           const std::string& delimiter = "|")

   .. oe:language:: python

      .. oe:api:: python

         OEGetDesignUnitComponentNamesFromMask(componentMask: int,
                                               delimiter: str = "|") -> str

   This function returns the names of the :ref:`OEDesignUnit <OEBio_OEDesignUnit>` components from
   the input ``mask`` in a concatenated form with a delimiter. The input mask is
   assumed to be from the :oe:constns:`OEBio::OEDesignUnitComponents` namespace, otherwise "unknown" will be returned.

   .. seealso::

      * :oe:func:`OEBio::OEGetDesignUnitComponentName` function
      * :oe:func:`OEBio::OEGetDesignUnitComponentID` function
