Definitions of SpeciesType and ListOfSpeciesType.


Functions | |
| SpeciesType_t * | ListOfSpeciesTypes_getById (ListOf_t *lo, const char *sid) |
| SpeciesType_t * | ListOfSpeciesTypes_removeById (ListOf_t *lo, const char *sid) |
Removes item in this ListOf items with the given id or NULL if no such item exists. | |
| SpeciesType_t * | SpeciesType_clone (const SpeciesType_t *st) |
| Creates a deep copy of the given SpeciesType_t structure. | |
| SpeciesType_t * | SpeciesType_create (unsigned int level, unsigned int version) |
Creates a new SpeciesType_t structure using the given SBML level and version values. | |
| SpeciesType_t * | SpeciesType_createWithNS (SBMLNamespaces_t *sbmlns) |
| Creates a new SpeciesType_t structure using the given SBMLNamespaces_t structure. | |
| void | SpeciesType_free (SpeciesType_t *st) |
| Frees the given SpeciesType_t structure. | |
| const char * | SpeciesType_getId (const SpeciesType_t *st) |
| Takes a SpeciesType_t structure and returns its identifier. | |
| const char * | SpeciesType_getName (const SpeciesType_t *st) |
| Takes a SpeciesType_t structure and returns its name. | |
| const XMLNamespaces_t * | SpeciesType_getNamespaces (SpeciesType_t *c) |
| Returns a list of XMLNamespaces_t associated with this SpeciesType_t structure. | |
| int | SpeciesType_isSetId (const SpeciesType_t *st) |
Predicate returning true or false depending on whether the given SpeciesType_t structure's identifier is set. | |
| int | SpeciesType_isSetName (const SpeciesType_t *st) |
Predicate returning true or false depending on whether the given SpeciesType_t structure's name is set. | |
| int | SpeciesType_setId (SpeciesType_t *st, const char *sid) |
| Assigns the identifier of a SpeciesType_t structure. | |
| int | SpeciesType_setName (SpeciesType_t *st, const char *name) |
| Assign the name of a SpeciesType_t structure. | |
| int | SpeciesType_unsetName (SpeciesType_t *st) |
| Unsets the name of a SpeciesType. | |
| SpeciesType_t* ListOfSpeciesTypes_getById | ( | ListOf_t * | lo, |
| const char * | sid | ||
| ) |
NULL if no such item exists. | SpeciesType_t* ListOfSpeciesTypes_removeById | ( | ListOf_t * | lo, |
| const char * | sid | ||
| ) |
Removes item in this ListOf items with the given id or NULL if no such item exists.
The caller owns the returned item and is responsible for deleting it.
| SpeciesType_t* SpeciesType_clone | ( | const SpeciesType_t * | st | ) |
Creates a deep copy of the given SpeciesType_t structure.
| ct | the SpeciesType_t structure to be copied |
| SpeciesType_t* SpeciesType_create | ( | unsigned int | level, |
| unsigned int | version | ||
| ) |
Creates a new SpeciesType_t structure using the given SBML level and version values.
| level | an unsigned int, the SBML Level to assign to this SpeciesType |
| version | an unsigned int, the SBML Version to assign to this SpeciesType |
level and version for the document override those used to create the SpeciesType. Despite this, the ability to supply the values at creation time is an important aid to creating valid SBML. Knowledge of the intended SBML Level and Version determine whether it is valid to assign a particular value to an attribute, or whether it is valid to add an object to an existing SBMLDocument. | SpeciesType_t* SpeciesType_createWithNS | ( | SBMLNamespaces_t * | sbmlns | ) |
Creates a new SpeciesType_t structure using the given SBMLNamespaces_t structure.
| sbmlns | SBMLNamespaces, a pointer to an SBMLNamespaces structure to assign to this SpeciesType |
sbmlns namespaces for the document override those used to create the SpeciesType. Despite this, the ability to supply the values at creation time is an important aid to creating valid SBML. Knowledge of the intended SBML Level and Version determine whether it is valid to assign a particular value to an attribute, or whether it is valid to add an object to an existing SBMLDocument. | void SpeciesType_free | ( | SpeciesType_t * | st | ) |
Frees the given SpeciesType_t structure.
| ct | the SpeciesType_t structure to be freed. |
| const char* SpeciesType_getId | ( | const SpeciesType_t * | st | ) |
Takes a SpeciesType_t structure and returns its identifier.
| ct | the SpeciesType_t structure whose identifier is sought |
| const char* SpeciesType_getName | ( | const SpeciesType_t * | st | ) |
Takes a SpeciesType_t structure and returns its name.
| ct | the SpeciesType_t whose name is sought. |
| const XMLNamespaces_t* SpeciesType_getNamespaces | ( | SpeciesType_t * | st | ) |
Returns a list of XMLNamespaces_t associated with this SpeciesType_t structure.
| st | the SpeciesType_t structure |
| int SpeciesType_isSetId | ( | const SpeciesType_t * | st | ) |
Predicate returning true or false depending on whether the given SpeciesType_t structure's identifier is set.
| ct | the SpeciesType_t structure to query |
non-zero (true) if the "id" field of the given SpeciesType is set, zero (false) otherwise. | int SpeciesType_isSetName | ( | const SpeciesType_t * | st | ) |
Predicate returning true or false depending on whether the given SpeciesType_t structure's name is set.
| ct | the SpeciesType_t structure to query |
non-zero (true) if the "name" field of the given SpeciesType is set, zero (false) otherwise. | int SpeciesType_setId | ( | SpeciesType_t * | st, |
| const char * | sid | ||
| ) |
Assigns the identifier of a SpeciesType_t structure.
This makes a copy of the string passed as the argument sid.
| ct | the SpeciesType_t structure to set. |
| sid | the string to use as the identifier. |
| int SpeciesType_setName | ( | SpeciesType_t * | st, |
| const char * | name | ||
| ) |
Assign the name of a SpeciesType_t structure.
This makes a copy of the string passed as the argument name.
| ct | the SpeciesType_t structure to set. |
| name | the string to use as the name. |
| int SpeciesType_unsetName | ( | SpeciesType_t * | st | ) |
Unsets the name of a SpeciesType.
| ct | the SpeciesType_t structure whose name is to be unset. |