Implementation of Delay.

Functions | |
| Delay_t * | Delay_clone (const Delay_t *t) |
| Creates and returns a deep copy of the given Delay_t structure. | |
| int | Delay_containsUndeclaredUnits (Delay_t *d) |
Predicate returning true or false depending on whether the math expression of this Delay_t contains parameters/numbers with undeclared units. | |
| Delay_t * | Delay_create (unsigned int level, unsigned int version) |
Creates a new Delay_t structure using the given SBML level and version values. | |
| Delay_t * | Delay_createWithNS (SBMLNamespaces_t *sbmlns) |
| Creates a new Delay_t structure using the given SBMLNamespaces_t structure. | |
| void | Delay_free (Delay_t *t) |
| Frees the given Delay_t structure. | |
| UnitDefinition_t * | Delay_getDerivedUnitDefinition (Delay_t *d) |
| Calculates and returns a UnitDefinition_t that expresses the units returned by the math expression of this Delay_t. | |
| const ASTNode_t * | Delay_getMath (const Delay_t *t) |
| Get the mathematical formula for a Delay_t structure and return it as as an ASTNode structure. | |
| const XMLNamespaces_t * | Delay_getNamespaces (Delay_t *d) |
| Returns a list of XMLNamespaces_t associated with this Delay_t structure. | |
| int | Delay_isSetMath (const Delay_t *t) |
| Predicate to test whether the formula for the given Delay_t structure is set. | |
| int | Delay_setMath (Delay_t *t, const ASTNode_t *math) |
| Sets the delay expression of the given Delay_t instance to a copy of the given ASTNode_t structure. | |
| Delay_t* Delay_clone | ( | const Delay_t * | t | ) |
Creates and returns a deep copy of the given Delay_t structure.
| t | the Delay_t structure to copy. |
t. | int Delay_containsUndeclaredUnits | ( | Delay_t * | d | ) |
Predicate returning true or false depending on whether the math expression of this Delay_t contains parameters/numbers with undeclared units.
true if the math expression of this Delay_t includes parameters/numbers with undeclared units, false otherwise.true indicates that the UnitDefinition_t returned by the getDerivedUnitDefinition function may not accurately represent the units of the expression.| Delay_t* Delay_create | ( | unsigned int | level, |
| unsigned int | version | ||
| ) |
Creates a new Delay_t structure using the given SBML level and version values.
| level | an unsigned int, the SBML Level to assign to this Delay |
| version | an unsigned int, the SBML Version to assign to this Delay |
level and version for the document override those used to create the Delay. 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. | Delay_t* Delay_createWithNS | ( | SBMLNamespaces_t * | sbmlns | ) |
Creates a new Delay_t structure using the given SBMLNamespaces_t structure.
| sbmlns | SBMLNamespaces, a pointer to an SBMLNamespaces structure to assign to this Delay |
sbmlns namespaces for the document override those used to create the Delay. 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 Delay_free | ( | Delay_t * | t | ) |
Frees the given Delay_t structure.
| t | the Delay_t structure to free. |
| UnitDefinition_t* Delay_getDerivedUnitDefinition | ( | Delay_t * | d | ) |
Calculates and returns a UnitDefinition_t that expresses the units returned by the math expression of this Delay_t.
Note that the functionality that facilitates unit analysis depends on the model as a whole. Thus, in cases where the object has not been added to a model or the model itself is incomplete, unit analysis is not possible and this method will return NULL.
| const ASTNode_t* Delay_getMath | ( | const Delay_t * | t | ) |
Get the mathematical formula for a Delay_t structure and return it as as an ASTNode structure.
| t | the Delay_t structure to query. |
| const XMLNamespaces_t* Delay_getNamespaces | ( | Delay_t * | d | ) |
Returns a list of XMLNamespaces_t associated with this Delay_t structure.
| d | the Delay_t structure |
| int Delay_isSetMath | ( | const Delay_t * | t | ) |
Predicate to test whether the formula for the given Delay_t structure is set.
| t | the Delay_t structure to query |
true if the formula (meaning the math subelement) of this Delay is set, false otherwise. | int Delay_setMath | ( | Delay_t * | t, |
| const ASTNode_t * | math | ||
| ) |
Sets the delay expression of the given Delay_t instance to a copy of the given ASTNode_t structure.
| t | the Delay_t structure to set. |
| math | an ASTNode representing a formula tree. |