Definition of Trigger.


Functions | |
| Trigger_t * | Trigger_clone (const Trigger_t *t) |
| Trigger_t * | Trigger_create (unsigned int level, unsigned int version) |
Creates a new Trigger_t structure using the given SBML level and version values. | |
| Trigger_t * | Trigger_createWithNS (SBMLNamespaces_t *sbmlns) |
| Creates a new Trigger_t structure using the given SBMLNamespaces_t structure. | |
| void | Trigger_free (Trigger_t *t) |
| Frees the given Trigger. | |
| int | Trigger_getInitialValue (const Trigger_t *t) |
| Get the value of the "initialValue" attribute of this Trigger. | |
| const ASTNode_t * | Trigger_getMath (const Trigger_t *t) |
| const XMLNamespaces_t * | Trigger_getNamespaces (Trigger_t *c) |
| Returns a list of XMLNamespaces_t associated with this Trigger_t structure. | |
| int | Trigger_getPersistent (const Trigger_t *t) |
| Get the value of the "persistent" attribute of this Trigger. | |
| int | Trigger_hasRequiredAttributes (Trigger_t *t) |
Predicate returning true or false depending on whether all the required attributes for this Trigger object have been set. | |
| int | Trigger_hasRequiredElements (Trigger_t *t) |
Predicate returning true or false depending on whether all the required elements for this Trigger object have been set. | |
| int | Trigger_isSetInitialValue (const Trigger_t *t) |
| Return true if the "initialValue" attribute of this Trigger is set. | |
| int | Trigger_isSetMath (const Trigger_t *t) |
| int | Trigger_isSetPersistent (const Trigger_t *t) |
| Return true if the "persistent" attribute of this Trigger is set. | |
| int | Trigger_setInitialValue (Trigger_t *t, int initialValue) |
| Sets the "initialValue" attribute of this Trigger instance. | |
| int | Trigger_setMath (Trigger_t *t, const ASTNode_t *math) |
| Sets the math of this Trigger to a copy of the given ASTNode. | |
| int | Trigger_setPersistent (Trigger_t *t, int persistent) |
| Sets the "persistent" attribute of this Trigger instance. | |
| Trigger_t* Trigger_clone | ( | const Trigger_t * | t | ) |
| Trigger_t* Trigger_create | ( | unsigned int | level, |
| unsigned int | version | ||
| ) |
Creates a new Trigger_t structure using the given SBML level and version values.
| level | an unsigned int, the SBML Level to assign to this Trigger |
| version | an unsigned int, the SBML Version to assign to this Trigger |
level and version for the document override those used to create the Trigger. 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. | Trigger_t* Trigger_createWithNS | ( | SBMLNamespaces_t * | sbmlns | ) |
Creates a new Trigger_t structure using the given SBMLNamespaces_t structure.
| sbmlns | SBMLNamespaces, a pointer to an SBMLNamespaces structure to assign to this Trigger |
sbmlns namespaces for the document override those used to create the Trigger. 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 Trigger_free | ( | Trigger_t * | t | ) |
Frees the given Trigger.
| int Trigger_getInitialValue | ( | const Trigger_t * | t | ) |
| const ASTNode_t* Trigger_getMath | ( | const Trigger_t * | t | ) |
| const XMLNamespaces_t* Trigger_getNamespaces | ( | Trigger_t * | t | ) |
Returns a list of XMLNamespaces_t associated with this Trigger_t structure.
| t | the Trigger_t structure |
| int Trigger_getPersistent | ( | const Trigger_t * | t | ) |
| int Trigger_hasRequiredAttributes | ( | Trigger_t * | t | ) |
| int Trigger_hasRequiredElements | ( | Trigger_t * | t | ) |
| int Trigger_isSetInitialValue | ( | const Trigger_t * | t | ) |
| int Trigger_isSetMath | ( | const Trigger_t * | t | ) |
| int Trigger_isSetPersistent | ( | const Trigger_t * | t | ) |
| int Trigger_setInitialValue | ( | Trigger_t * | t, |
| int | initialValue | ||
| ) |
Sets the "initialValue" attribute of this Trigger instance.
| t | the Trigger_t structure |
| initialValue | a boolean representing the initialValue to be set. |
| int Trigger_setMath | ( | Trigger_t * | t, |
| const ASTNode_t * | math | ||
| ) |
| int Trigger_setPersistent | ( | Trigger_t * | t, |
| int | persistent | ||
| ) |
Sets the "persistent" attribute of this Trigger instance.
| t | the Trigger_t structure |
| persistent | a boolean representing the initialValue to be set. |