#CAPTION# parseModelName ————–

Parses the model name from a given SSD representation.

Memory is allocated for ident. The caller is responsible to free it using the C-API. The Lua and Python bindings take care of the memory and the caller doesn’t need to call free. #END#

#LUA# .. code-block:: lua

ident, status = oms_parseModelName(contents)

#END#

#PYTHON# .. code-block:: python

ident, status = oms.parseModelName(contents)

#END#

#CAPI# .. code-block:: c

oms_status_enu_t oms_parseModelName(const char* contents, char** cref);

#END#

#OMC# .. code-block:: Modelica

(ident, status) := oms_parseModelName(contents);

#END#

#DESCRIPTION# #END#