libSBML C++ API  5.18.0
SBMLTypeCodes.cpp File Reference

Enumeration to identify SBML objects at runtime. More...

Include dependency graph for SBMLTypeCodes.cpp:

Functions

const char * SBMLTypeCode_toString (int tc, const char *pkgName)
 This method takes an SBML type code and returns a string representing the code. More...
 

Variables

static const char * SBML_TYPE_CODE_STRINGS []
 

Detailed Description

Enumeration to identify SBML objects at runtime.

Author
Ben Bornstein

Function Documentation

const char* SBMLTypeCode_toString ( int  tc,
const char *  pkgName 
)

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

LibSBML attaches an identifying code to every kind of SBML object. These are known as SBML type codes. The set of possible type codes is defined in the enumeration SBMLTypeCode_t. The names of the type codes all begin with the characters SBML_.

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

Variable Documentation

const char* SBML_TYPE_CODE_STRINGS[]
static