Definition of Priority.


Functions | |
| Priority_t * | Priority_clone (const Priority_t *p) |
| Creates and returns a deep copy of the given Priority_t structure. | |
| Priority_t * | Priority_create (unsigned int level, unsigned int version) |
Creates a new Priority_t structure using the given SBML level and version values. | |
| Priority_t * | Priority_createWithNS (SBMLNamespaces_t *sbmlns) |
| Creates a new Priority_t structure using the given SBMLNamespaces_t structure. | |
| void | Priority_free (Priority_t *p) |
| Frees the given Priority_t structure. | |
| const ASTNode_t * | Priority_getMath (const Priority_t *p) |
| Get the mathematical formula for a Priority_t structure and return it as as an ASTNode structure. | |
| const XMLNamespaces_t * | Priority_getNamespaces (Priority_t *p) |
| Returns a list of XMLNamespaces_t associated with this Priority_t structure. | |
| int | Priority_isSetMath (const Priority_t *p) |
| Predicate to test whether the formula for the given Priority_t structure is set. | |
| int | Priority_setMath (Priority_t *p, const ASTNode_t *math) |
| Sets the math expression of the given Priority_t instance to a copy of the given ASTNode_t structure. | |
| Priority_t* Priority_clone | ( | const Priority_t * | p | ) |
Creates and returns a deep copy of the given Priority_t structure.
| t | the Priority_t structure to copy. |
t. | Priority_t* Priority_create | ( | unsigned int | level, |
| unsigned int | version | ||
| ) |
Creates a new Priority_t structure using the given SBML level and version values.
| level | an unsigned int, the SBML Level to assign to this Priority |
| version | an unsigned int, the SBML Version to assign to this Priority |
level and version for the document override those used to create the Priority. 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. | Priority_t* Priority_createWithNS | ( | SBMLNamespaces_t * | sbmlns | ) |
Creates a new Priority_t structure using the given SBMLNamespaces_t structure.
| sbmlns | SBMLNamespaces, a pointer to an SBMLNamespaces structure to assign to this Priority |
sbmlns namespaces for the document override those used to create the Priority. 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 Priority_free | ( | Priority_t * | t | ) |
Frees the given Priority_t structure.
| t | the Priority_t structure to free. |
| const ASTNode_t* Priority_getMath | ( | const Priority_t * | p | ) |
Get the mathematical formula for a Priority_t structure and return it as as an ASTNode structure.
| t | the Priority_t structure to query. |
| const XMLNamespaces_t* Priority_getNamespaces | ( | Priority_t * | p | ) |
Returns a list of XMLNamespaces_t associated with this Priority_t structure.
| d | the Priority_t structure |
| int Priority_isSetMath | ( | const Priority_t * | p | ) |
Predicate to test whether the formula for the given Priority_t structure is set.
| t | the Priority_t structure to query |
true if the formula (meaning the math subelement) of this Priority is set, false otherwise. | int Priority_setMath | ( | Priority_t * | p, |
| const ASTNode_t * | math | ||
| ) |
Sets the math expression of the given Priority_t instance to a copy of the given ASTNode_t structure.
| t | the Priority_t structure to set. |
| math | an ASTNode representing a formula tree. |