libSBML Perl API
libSBML 5.17.2 Perl API
|
Definition of GroupsExtension. More...
Classes | |
class | GroupsExtension |
{groups} More... | |
Macros | |
#define | GROUPS_CREATE_NS(variable, sbmlns) EXTENSION_CREATE_NS(GroupsPkgNamespaces, variable, sbmlns); |
Typedefs | |
typedef SBMLExtensionNamespaces< GroupsExtension > | GroupsPkgNamespaces |
Required typedef definitions. More... | |
Enumerations | |
enum | GroupKind_t { GROUP_KIND_CLASSIFICATION, GROUP_KIND_PARTONOMY, GROUP_KIND_COLLECTION, GROUP_KIND_UNKNOWN } |
Enumeration of values permitted as the value of the "kind" attribute on Group objects. More... | |
enum | SBMLGroupsTypeCode_t { SBML_GROUPS_MEMBER = 500, SBML_GROUPS_GROUP = 501 } |
SBMLGroupsTypeCode_t Enumeration of possible types in the libSBML “groups” package implementation. More... | |
Functions | |
GroupKind_t | GroupKind_fromString (const char *code) |
Returns the enumeration value corresponding to the given string or. More... | |
int | GroupKind_isValid (GroupKind_t gk) |
Predicate returning 1 (true) or 0 (false) depending on whether the given enumeration value is valid. More... | |
int | GroupKind_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid enumeration value. More... | |
const char * | GroupKind_toString (GroupKind_t gk) |
Returns the string version of the provided enumeration value. More... | |
Definition of GroupsExtension.
#define GROUPS_CREATE_NS | ( | variable, | |
sbmlns | |||
) | EXTENSION_CREATE_NS(GroupsPkgNamespaces, variable, sbmlns); |
Required typedef definitions.
GroupsPkgNamespaces is derived from SBMLNamespaces class and used when creating an object of SBase derived classes defined in the groups package
SBMLExtensionNamespaces<GroupsExtension> must be instantiated in GroupsExtension.cpp for DLL
enum GroupKind_t |
Enumeration of values permitted as the value of the "kind" attribute on Group objects.
enum SBMLGroupsTypeCode_t |
GroupKind_t GroupKind_fromString | ( | const char * | code | ) |
Returns the enumeration value corresponding to the given string or.
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 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