useful metadata type and tag functions
More...
#include <lti_metadataUtils.h>
This class contains several static utility functions useful for operating with tag names, tag numbers, and datatypes.
Definition at line 37 of file lti_metadataUtils.h.
§ lookupName()
This function returns the string associated with a given tag enum. It will return NULL if the tag enum is not known.
- Parameters
-
- Returns
- the string corresponding to tag
§ lookupProperName() [1/2]
static const char* LTIMetadataUtils::lookupProperName |
( |
LTIMetadataTag |
tag | ) |
|
|
static |
This function returns the prety string associated with a given tag enum. It will return NULL if the tag enum is not known.
- Parameters
-
- Returns
- the string corresponding to tag
§ lookupProperName() [2/2]
static const char* LTIMetadataUtils::lookupProperName |
( |
const char * |
name | ) |
|
|
static |
This function returns the prety string associated with a given tag enum. It will return NULL if the tag enum is not known.
- Parameters
-
- Returns
- the string corresponding to tag
§ lookupTag()
static LTIMetadataTag LTIMetadataUtils::lookupTag |
( |
const char * |
tagName | ) |
|
|
static |
This function returns the enum associated with a given tag name. It will return LTI_METADATA_TAG_Unknown if the string is not known.
- Parameters
-
- Returns
- the enum corresponding to tagName
§ name() [1/2]
This function returns a string representation of the given datatype, useful for debugging.
- Parameters
-
dataType | the datatype to use |
- Returns
- the string version of the given datatype
- Examples:
- MetadataDump.cpp.
§ name() [2/2]
This function returns the string associated with the class of tag
- Parameters
-
- Returns
- the string corresponding to the tag class
§ tagClass()
This function returns the "class" associated with the given tag
- Parameters
-
- Returns
- the tag class
The documentation for this class was generated from the following file: