libSBML C++ API
5.20.4
|
SBML UnitKind enumeration. More...
Functions | |
int | UnitKind_equals (UnitKind_t uk1, UnitKind_t uk2) |
UnitKind_t | UnitKind_forName (const char *name) |
int | UnitKind_isValidUnitKindString (const char *str, unsigned int level, unsigned int version) |
const char * | UnitKind_toString (UnitKind_t uk) |
Variables | |
const char * | UNIT_KIND_STRINGS [] |
SBML UnitKind enumeration.
int UnitKind_equals | ( | UnitKind_t | uk1, |
UnitKind_t | uk2 | ||
) |
Tests for logical equality between two given UNIT_KIND_
code values.
UnitKind_t UnitKind_forName | ( | const char * | name | ) |
Converts a text string naming a kind of unit to its corresponding libSBML UNIT_KIND_
constant/enumeration value.
int UnitKind_isValidUnitKindString | ( | const char * | str, |
unsigned int | level, | ||
unsigned int | version | ||
) |
Predicate for testing whether a given string corresponds to a predefined libSBML unit code.
const char * UnitKind_toString | ( | UnitKind_t | uk | ) |
Converts a unit code to a text string equivalent.
const char* UNIT_KIND_STRINGS[] |