Implementation of GroupsExtension.
More...
Implementation of GroupsExtension.
- Author
- SBMLTeam
Returns the enumeration value corresponding to the given string or GROUP_KIND_UNKNOWN if there is no such match.
- Parameters
-
code | the string to convert to an enumeration value. |
- Returns
- the corresponding value, or GROUP_KIND_UNKNOWN if no match is found.
- Note
- The matching is case-sensitive: "classification" will return GROUP_KIND_CLASSIFICATION, but "Classification" will return 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.
- Parameters
-
- Returns
1
(true) if the string is "classification", "partonomy", or "collection"; 0
(false) otherwise.
- Note
- The matching is case-sensitive: "classification" will return
1
(true), but "Classification" will return 0
(false).
Returns the string version of the provided enumeration value.
- Parameters
-
gk | the enumeration value to convert. |
- Returns
- A string corresponding to the given type: "classification", "partonomy", "collection", or
NULL
if the value is GROUP_KIND_UNKNOWN or another invalid enumeration value.
- Note
- The string returned by this function is a pointer to a string literal defined in the libSBML library, and may not be modified or deleted.
const char* SBML_GROUP_KIND_STRINGS[] |
|
static |
Initial value:=
{
"classification"
, "partonomy"
, "collection"
, "(Unknown SBML Groups Type)"
}
const char* SBML_GROUPS_TYPECODE_STRINGS[] |
|
static |