|
libSBML C++ API
5.21.2
|
Implementation of GroupsExtension. More...
Functions | |
| GroupKind_t | GroupKind_fromString (const char *code) |
| Returns the enumeration value corresponding to the given string or GROUP_KIND_UNKNOWN if there is no such match. | |
| int | GroupKind_isValid (GroupKind_t gk) |
Predicate returning 1 (true) or 0 (false) depending on whether the given enumeration value is valid. | |
| int | GroupKind_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid enumeration value. | |
| const char * | GroupKind_toString (GroupKind_t gk) |
| Returns the string version of the provided enumeration value. | |
Variables | |
| static SBMLExtensionRegister< GroupsExtension > | groupsExtensionRegistry |
| Adds this GroupsExtension to the SBMLExtensionRegistry class. | |
| static const char * | SBML_GROUP_KIND_STRINGS [] |
| static const char * | SBML_GROUPS_TYPECODE_STRINGS [] |
Implementation of GroupsExtension.
| GroupKind_t GroupKind_fromString | ( | const char * | code | ) |
Returns the enumeration value corresponding to the given string or GROUP_KIND_UNKNOWN if there is no such match.
| code | the string to convert to an enumeration value. |
| int GroupKind_isValid | ( | GroupKind_t | gk | ) |
Predicate returning 1 (true) or 0 (false) depending on whether the given enumeration value is valid.
| gk | the enumeration value to query. |
1 (true) if the value is GROUP_KIND_CLASSIFICATION , GROUP_KIND_PARTONOMY , or GROUP_KIND_COLLECTION ; 0 (false) otherwise (including GROUP_KIND_UNKNOWN ).| int GroupKind_isValidString | ( | const char * | code | ) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid enumeration value.
| code | the string to query. |
1 (true) if the string is "classification", "partonomy", or "collection"; 0 (false) otherwise.1 (true), but "Classification" will return 0 (false).| const char * GroupKind_toString | ( | GroupKind_t | gk | ) |
Returns the string version of the provided enumeration value.
| gk | the enumeration value to convert. |
NULL if the value is GROUP_KIND_UNKNOWN or another invalid enumeration value.
|
static |
Adds this GroupsExtension to the SBMLExtensionRegistry class.
|
static |
|
static |