libNuML 1.1.1
Library for reading / writing NuML documents
NUMLTypeCodes.cpp File Reference

Functions

LIBNUML_EXTERN const char * NUMLTypeCode_toString (NUMLTypeCode_t tc)
 This method takes an NUML type code and returns a string representing the code. More...
 

Variables

static LIBNUML_CPP_NAMESPACE_BEGIN const char * NUML_TYPE_CODE_STRINGS []
 

Function Documentation

◆ NUMLTypeCode_toString()

LIBNUML_EXTERN const char * NUMLTypeCode_toString ( NUMLTypeCode_t  tc)

This method takes an NUML type code and returns a string representing the code.

Returns
a human readable name for the given NUMLTypeCode_t. The caller does not own the returned string and is therefore not allowed to modify it.

Variable Documentation

◆ NUML_TYPE_CODE_STRINGS

LIBNUML_CPP_NAMESPACE_BEGIN const char* NUML_TYPE_CODE_STRINGS[]
static
Initial value:
=
{
"(Unknown NUML Type)"
, "Document"
, "OntologyTerms"
, "OntologyTerm"
, "ResultComponent"
, "ResultComponents"
, "Dimension"
, "DimensionDescription"
, "CompositeValue"
, "CompositeValues"
, "Tuple"
, "Tuples"
, "AtomicValue"
, "AtomicValues"
, "CompositeDescription"
, "TupleDescription"
, "AtomicDescription"
, "NUMLList"
}