libSBML C API
5.18.0
|
An IntraSpeciesReaction_t is derived from Reaction_t for the reactions happening within a Species_t. A particular Reaction_t may happen within a Species_t as an IntraSpeciesReaction_t if the following conditions are fulfilled:
Note: Technically, transformations are also reactions happening with one Species_t, but they do not have the ambiguity of association and dissociation reactions. Therefore, a transformation reaction does not have to be defined as an IntraSpeciesReaction_t.
Public Member Functions | |
IntraSpeciesReaction_t * | IntraSpeciesReaction_clone (IntraSpeciesReaction_t *isr) |
Creates a deep copy of the given IntraSpeciesReaction_t structure. More... | |
IntraSpeciesReaction_t * | IntraSpeciesReaction_create (unsigned int level, unsigned int version, unsigned int pkgVersion) |
Creates a new IntraSpeciesReaction_t structure using the given SBML level and version , and the pkgVersion package version. More... | |
void | IntraSpeciesReaction_free (IntraSpeciesReaction_t *isr) |
Frees the given IntraSpeciesReaction_t structure. More... | |
int | IntraSpeciesReaction_hasRequiredAttributes (const IntraSpeciesReaction_t *isr) |
Predicate returning 1 (true) or 0 (false) depending on whether all the required attributes of the given IntraSpeciesReaction_t structure have been set. More... | |
IntraSpeciesReaction_t * IntraSpeciesReaction_clone | ( | IntraSpeciesReaction_t * | isr | ) |
Creates a deep copy of the given IntraSpeciesReaction_t structure.
isr | the IntraSpeciesReaction_t structure to be copied. |
IntraSpeciesReaction_t * IntraSpeciesReaction_create | ( | unsigned int | level, |
unsigned int | version, | ||
unsigned int | pkgVersion | ||
) |
Creates a new IntraSpeciesReaction_t structure using the given SBML level
and version
, and the pkgVersion
package version.
level | an unsigned int, the SBML level to assign to this IntraSpeciesReaction_t structure. |
version | an unsigned int, the SBML version to assign to this IntraSpeciesReaction_t structure. |
pkgVersion | an unsigned int, the version of the package to assign to this IntraSpeciesReaction_t structure. |
void IntraSpeciesReaction_free | ( | IntraSpeciesReaction_t * | isr | ) |
Frees the given IntraSpeciesReaction_t structure.
isr | the IntraSpeciesReaction_t structure to be freed. |
int IntraSpeciesReaction_hasRequiredAttributes | ( | const IntraSpeciesReaction_t * | isr | ) |
Predicate returning 1
(true) or 0
(false) depending on whether all the required attributes of the given IntraSpeciesReaction_t structure have been set.
isr | the IntraSpeciesReaction_t structure to check. |
1
(true) if all the required attributes for this structure have been defined, 0
(false) otherwise.