Implementations of LocalLocalParameter and ListOfLocalLocalParameters.

Functions | |
| LocalParameter_t * | ListOfLocalParameters_getById (ListOf_t *lo, const char *sid) |
| LocalParameter_t * | ListOfLocalParameters_removeById (ListOf_t *lo, const char *sid) |
Removes item in this ListOf items with the given id or NULL if no such item exists. | |
| LocalParameter_t * | LocalParameter_clone (const LocalParameter_t *p) |
| Creates a deep copy of the given LocalParameter_t structure. | |
| LocalParameter_t * | LocalParameter_create (unsigned int level, unsigned int version) |
Creates a new LocalParameter_t structure using the given SBML level and version values. | |
| LocalParameter_t * | LocalParameter_createWithNS (SBMLNamespaces_t *sbmlns) |
| Creates a new LocalParameter_t structure using the given SBMLNamespaces_t structure. | |
| void | LocalParameter_free (LocalParameter_t *p) |
| Frees the given LocalParameter_t structure. | |
| UnitDefinition_t * | LocalParameter_getDerivedUnitDefinition (LocalParameter_t *p) |
| Constructs and returns a UnitDefinition_t structure that expresses the units of this LocalParameter_t structure. | |
| const char * | LocalParameter_getId (const LocalParameter_t *p) |
| Takes a LocalParameter_t structure and returns its identifier. | |
| const char * | LocalParameter_getName (const LocalParameter_t *p) |
| Takes a LocalParameter_t structure and returns its name. | |
| const XMLNamespaces_t * | LocalParameter_getNamespaces (LocalParameter_t *p) |
| Returns a list of XMLNamespaces_t associated with this LocalParameter_t structure. | |
| const char * | LocalParameter_getUnits (const LocalParameter_t *p) |
| Takes a LocalParameter_t structure and returns its units. | |
| double | LocalParameter_getValue (const LocalParameter_t *p) |
| Takes a LocalParameter_t structure and returns its value. | |
| int | LocalParameter_hasRequiredAttributes (LocalParameter_t *p) |
Predicate returning true or false depending on whether all the required attributes for this LocalParameter object have been set. | |
| int | LocalParameter_isSetId (const LocalParameter_t *p) |
Predicate returning true or false depending on whether the given LocalParameter_t structure's identifier is set. | |
| int | LocalParameter_isSetName (const LocalParameter_t *p) |
Predicate returning true or false depending on whether the given LocalParameter_t structure's name is set. | |
| int | LocalParameter_isSetUnits (const LocalParameter_t *p) |
Predicate returning true or false depending on whether the given LocalParameter_t structure's units have been set. | |
| int | LocalParameter_isSetValue (const LocalParameter_t *p) |
Predicate returning true or false depending on whether the given LocalParameter_t structure's value is set. | |
| int | LocalParameter_setId (LocalParameter_t *p, const char *sid) |
| Assigns the identifier of a LocalParameter_t structure. | |
| int | LocalParameter_setName (LocalParameter_t *p, const char *name) |
| Assign the name of a LocalParameter_t structure. | |
| int | LocalParameter_setUnits (LocalParameter_t *p, const char *units) |
| Assign the units of a LocalParameter_t structure. | |
| int | LocalParameter_setValue (LocalParameter_t *p, double value) |
| Assign the value of a LocalParameter_t structure. | |
| int | LocalParameter_unsetName (LocalParameter_t *p) |
| Unsets the name of this LocalParameter_t structure. | |
| int | LocalParameter_unsetUnits (LocalParameter_t *p) |
| Unsets the units of this LocalParameter_t structure. | |
| int | LocalParameter_unsetValue (LocalParameter_t *p) |
| Unsets the value of this LocalParameter_t structure. | |
| LocalParameter_t* ListOfLocalParameters_getById | ( | ListOf_t * | lo, |
| const char * | sid | ||
| ) |
NULL if no such item exists. | LocalParameter_t* ListOfLocalParameters_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.
| LocalParameter_t* LocalParameter_clone | ( | const LocalParameter_t * | p | ) |
Creates a deep copy of the given LocalParameter_t structure.
| p | the LocalParameter_t structure to be copied |
| LocalParameter_t* LocalParameter_create | ( | unsigned int | level, |
| unsigned int | version | ||
| ) |
Creates a new LocalParameter_t structure using the given SBML level and version values.
| level | an unsigned int, the SBML Level to assign to this LocalParameter |
| version | an unsigned int, the SBML Version to assign to this LocalParameter |
level and version for the document override those used to create the LocalParameter. 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. | LocalParameter_t* LocalParameter_createWithNS | ( | SBMLNamespaces_t * | sbmlns | ) |
Creates a new LocalParameter_t structure using the given SBMLNamespaces_t structure.
| sbmlns | SBMLNamespaces, a pointer to an SBMLNamespaces structure to assign to this LocalParameter |
sbmlns namespaces for the document override those used to create the LocalParameter. 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 LocalParameter_free | ( | LocalParameter_t * | p | ) |
Frees the given LocalParameter_t structure.
| p | the LocalParameter_t structure to be freed. |
| UnitDefinition_t* LocalParameter_getDerivedUnitDefinition | ( | LocalParameter_t * | p | ) |
Constructs and returns a UnitDefinition_t structure that expresses the units of this LocalParameter_t structure.
| p | the LocalParameter_t structure whose units are to be returned. |
| const char* LocalParameter_getId | ( | const LocalParameter_t * | p | ) |
Takes a LocalParameter_t structure and returns its identifier.
| p | the LocalParameter_t structure whose identifier is sought |
| const char* LocalParameter_getName | ( | const LocalParameter_t * | p | ) |
Takes a LocalParameter_t structure and returns its name.
| p | the LocalParameter_t whose name is sought. |
| const XMLNamespaces_t* LocalParameter_getNamespaces | ( | LocalParameter_t * | p | ) |
Returns a list of XMLNamespaces_t associated with this LocalParameter_t structure.
| p | the LocalParameter_t structure |
| const char* LocalParameter_getUnits | ( | const LocalParameter_t * | p | ) |
Takes a LocalParameter_t structure and returns its units.
| p | the LocalParameter_t whose units are sought. |
| double LocalParameter_getValue | ( | const LocalParameter_t * | p | ) |
Takes a LocalParameter_t structure and returns its value.
| p | the LocalParameter_t whose value is sought. |
double. | int LocalParameter_hasRequiredAttributes | ( | LocalParameter_t * | p | ) |
Predicate returning true or false depending on whether all the required attributes for this LocalParameter object have been set.
| p | the LocalParameter_t structure to check. |
| int LocalParameter_isSetId | ( | const LocalParameter_t * | p | ) |
Predicate returning true or false depending on whether the given LocalParameter_t structure's identifier is set.
| p | the LocalParameter_t structure to query |
non-zero (true) if the "id" attribute of the given LocalParameter_t structure is set, zero (false) otherwise. | int LocalParameter_isSetName | ( | const LocalParameter_t * | p | ) |
Predicate returning true or false depending on whether the given LocalParameter_t structure's name is set.
| p | the LocalParameter_t structure to query |
non-zero (true) if the "name" attribute of the given LocalParameter_t structure is set, zero (false) otherwise. | int LocalParameter_isSetUnits | ( | const LocalParameter_t * | p | ) |
Predicate returning true or false depending on whether the given LocalParameter_t structure's units have been set.
| p | the LocalParameter_t structure to query |
non-zero (true) if the "units" attribute of the given LocalParameter_t structure is set, zero (false) otherwise. | int LocalParameter_isSetValue | ( | const LocalParameter_t * | p | ) |
Predicate returning true or false depending on whether the given LocalParameter_t structure's value is set.
| p | the LocalParameter_t structure to query |
non-zero (true) if the "value" attribute of the given LocalParameter_t structure is set, zero (false) otherwise.| int LocalParameter_setId | ( | LocalParameter_t * | p, |
| const char * | sid | ||
| ) |
Assigns the identifier of a LocalParameter_t structure.
This makes a copy of the string passed in the param sid.
| p | the LocalParameter_t structure to set. |
| sid | the string to use as the identifier. |
| int LocalParameter_setName | ( | LocalParameter_t * | p, |
| const char * | name | ||
| ) |
Assign the name of a LocalParameter_t structure.
This makes a copy of the string passed in as the argument name.
| p | the LocalParameter_t structure to set. |
| name | the string to use as the name. |
| int LocalParameter_setUnits | ( | LocalParameter_t * | p, |
| const char * | units | ||
| ) |
Assign the units of a LocalParameter_t structure.
This makes a copy of the string passed in as the argument units.
| p | the LocalParameter_t structure to set. |
| units | the string to use as the identifier of the units to assign. |
| int LocalParameter_setValue | ( | LocalParameter_t * | p, |
| double | value | ||
| ) |
Assign the value of a LocalParameter_t structure.
| p | the LocalParameter_t structure to set. |
| value | the double value to use. |
| int LocalParameter_unsetName | ( | LocalParameter_t * | p | ) |
Unsets the name of this LocalParameter_t structure.
| p | the LocalParameter_t structure whose name is to be unset. |
| int LocalParameter_unsetUnits | ( | LocalParameter_t * | p | ) |
Unsets the units of this LocalParameter_t structure.
| p | the LocalParameter_t structure whose units are to be unset. |
| int LocalParameter_unsetValue | ( | LocalParameter_t * | p | ) |
Unsets the value of this LocalParameter_t structure.
In SBML Level 1 Version 1, a parameter is required to have a value and therefore this attribute should always be set. In Level 1 Version 2 and beyond, a value is optional, and as such, may or may not be set.
| p | the LocalParameter_t structure whose value is to be unset. |