libSBML C API
5.18.0
|
Each Output_t refers to a QualitativeSpecies_t that participates in (is affected by) the corresponding Transition_t. In Petri net models these are the output places of the transition.
In a logical model, a QualitativeSpecies_t should be referenced in at most one ListOfOutputs_t, (that of the Transition_t defining the evolution of this species). When a Transition_t has several outputs, it is because the referenced species share the same regulators and the same logical rules.
Public Member Functions | |
Output_t * | Output_clone (Output_t *o) |
Returns a copy of the given Output_t structure. More... | |
Output_t * | Output_create (unsigned int level, unsigned int version, unsigned int pkgVersion) |
Creates a new Output_t structure using the given SBML level and version , and the pkgVersion package version. More... | |
void | Output_free (Output_t *o) |
Frees the given Output_t structure. More... | |
char * | Output_getId (Output_t *o) |
Takes an Output_t structure and returns its identifier. More... | |
char * | Output_getName (Output_t *o) |
Takes a Output_t structure and returns its name. More... | |
int | Output_getOutputLevel (Output_t *o) |
Takes a Output_t structure and returns its outputLevel. More... | |
char * | Output_getQualitativeSpecies (Output_t *o) |
Takes a Output_t structure and returns its qualitativeSpecies. More... | |
OutputTransitionEffect_t | Output_getTransitionEffect (Output_t *o) |
Takes a Output_t structure and returns its transitionEffect as a OutputTransitionEffect_t (an enumerated value of legal possible values for the attribute). More... | |
int | Output_hasRequiredAttributes (Output_t *o) |
Predicate returning true or false depending on whether all the required attributes for the given Output_t structure have been set. More... | |
int | Output_isSetId (Output_t *o) |
Predicate returning 1 (true) or 0 (false) depending on whether the given Output_t structure's identifier is set. More... | |
int | Output_isSetName (Output_t *o) |
Predicate returning 1 (true) or 0 (false) depending on whether the given Output_t structure's name is set. More... | |
int | Output_isSetOutputLevel (Output_t *o) |
Predicate returning 1 (true) or 0 (false) depending on whether the given Output_t structure's outputLevel is set. More... | |
int | Output_isSetQualitativeSpecies (Output_t *o) |
Predicate returning 1 (true) or 0 (false) depending on whether the given Output_t structure's qualitativeSpecies is set. More... | |
int | Output_isSetTransitionEffect (Output_t *o) |
Predicate returning 1 (true) or 0 (false) depending on whether the given Output_t structure's transitionEffect is set. More... | |
int | Output_setId (Output_t *o, const char *sid) |
Assigns the identifier of an Output_t structure. More... | |
int | Output_setName (Output_t *o, const char *name) |
Sets the name of the given Output_t to a copy of name . More... | |
int | Output_setOutputLevel (Output_t *o, int outputLevel) |
Sets the "outputLevel" attribute of the given Output_t structure. More... | |
int | Output_setQualitativeSpecies (Output_t *o, const char *qualitativeSpecies) |
Sets the qualitativeSpecies of the given Output_t to a copy of qualitativeSpecies . More... | |
int | Output_setTransitionEffect (Output_t *o, const char *transitionEffect) |
Sets the transitionEffect of the given Output_t to a copy of transitionEffect . More... | |
int | Output_unsetId (Output_t *o) |
Unsets the "id" attribute of the given Output_t structure. More... | |
int | Output_unsetName (Output_t *o) |
Unsets the "name" attribute of the given Output_t structure. More... | |
int | Output_unsetOutputLevel (Output_t *o) |
Unsets the "outputLevel" attribute of the given Output_t structure. More... | |
int | Output_unsetQualitativeSpecies (Output_t *o) |
Unsets the "qualitativeSpecies" attribute of the given Output_t structure. More... | |
int | Output_unsetTransitionEffect (Output_t *o) |
Unsets the "transitionEffect" attribute of the given Output_t structure. More... | |
OutputTransitionEffect_t | OutputTransitionEffect_fromString (const char *s) |
Returns the OutputTransitionEffect_t enumeration corresponding to the given string, or OUTPUT_TRANSITION_EFFECT_UNKNOWN if there is no such match. More... | |
int | OutputTransitionEffect_isValidOutputTransitionEffect (OutputTransitionEffect_t effect) |
Predicate returning 1 (true) or 0 (false) depending on whether the given OutputTransitionEffect_t is valid. More... | |
int | OutputTransitionEffect_isValidOutputTransitionEffectString (const char *s) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid OutputTransitionEffect_t. More... | |
const char * | OutputTransitionEffect_toString (OutputTransitionEffect_t effect) |
Returns the string version of the provided OutputTransitionEffect_t enumeration. More... | |
Output_t * Output_create | ( | unsigned int | level, |
unsigned int | version, | ||
unsigned int | pkgVersion | ||
) |
Creates a new Output_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 Output_t. |
version | an unsigned int, the SBML Version to assign to this Output_t. |
pkgVersion | an unsigned int, the SBML 'Qual' package Version to assign to this Output_t. |
void Output_free | ( | Output_t * | o | ) |
char * Output_getId | ( | Output_t * | o | ) |
char * Output_getName | ( | Output_t * | o | ) |
int Output_getOutputLevel | ( | Output_t * | o | ) |
char * Output_getQualitativeSpecies | ( | Output_t * | o | ) |
OutputTransitionEffect_t Output_getTransitionEffect | ( | Output_t * | o | ) |
Takes a Output_t structure and returns its transitionEffect as a OutputTransitionEffect_t (an enumerated value of legal possible values for the attribute).
o | the Output_t whose transitionEffect is sought. |
int Output_hasRequiredAttributes | ( | Output_t * | o | ) |
int Output_isSetId | ( | Output_t * | o | ) |
int Output_isSetName | ( | Output_t * | o | ) |
int Output_isSetOutputLevel | ( | Output_t * | o | ) |
int Output_isSetQualitativeSpecies | ( | Output_t * | o | ) |
int Output_isSetTransitionEffect | ( | Output_t * | o | ) |
int Output_setId | ( | Output_t * | o, |
const char * | sid | ||
) |
Assigns the identifier of an Output_t structure.
This makes a copy of the string passed in the parameter sid
.
o | the Output_t structure to set. |
sid | the string to use as the identifier. |
sid
of NULL is equivalent to unsetting the "id" attribute. int Output_setName | ( | Output_t * | o, |
const char * | name | ||
) |
Sets the name of the given Output_t to a copy of name
.
o | the Output_t structure to set. |
name | the name to assign to the given Output_t's "name" attribute. |
int Output_setOutputLevel | ( | Output_t * | o, |
int | outputLevel | ||
) |
Sets the "outputLevel" attribute of the given Output_t structure.
o | the Output_t structure. |
outputLevel | the value of outputLevel to assign to the "outputLevel" attribute. |
int Output_setQualitativeSpecies | ( | Output_t * | o, |
const char * | qualitativeSpecies | ||
) |
Sets the qualitativeSpecies of the given Output_t to a copy of qualitativeSpecies
.
o | the Output_t structure to set. |
qualitativeSpecies | the qualitativeSpecies to assign to the given Output_t's "qualitativeSpecies" attribute. |
int Output_setTransitionEffect | ( | Output_t * | o, |
const char * | transitionEffect | ||
) |
Sets the transitionEffect of the given Output_t to a copy of transitionEffect
.
o | the Output_t structure to set. |
transitionEffect | the transitionEffect to assign to the given Output_t's "transitionEffect" attribute. |
int Output_unsetId | ( | Output_t * | o | ) |
Unsets the "id" attribute of the given Output_t structure.
o | the Output_t structure to unset. |
int Output_unsetName | ( | Output_t * | o | ) |
Unsets the "name" attribute of the given Output_t structure.
o | the Output_t structure to unset. |
int Output_unsetOutputLevel | ( | Output_t * | o | ) |
Unsets the "outputLevel" attribute of the given Output_t structure.
o | the Output_t structure to unset. |
int Output_unsetQualitativeSpecies | ( | Output_t * | o | ) |
Unsets the "qualitativeSpecies" attribute of the given Output_t structure.
o | the Output_t structure to unset. |
int Output_unsetTransitionEffect | ( | Output_t * | o | ) |
Unsets the "transitionEffect" attribute of the given Output_t structure.
o | the Output_t structure to unset. |
OutputTransitionEffect_t OutputTransitionEffect_fromString | ( | const char * | s | ) |
Returns the OutputTransitionEffect_t enumeration corresponding to the given string, or OUTPUT_TRANSITION_EFFECT_UNKNOWN if there is no such match.
The matching is case-sensitive: "production" will return OUTPUT_TRANSITION_EFFECT_PRODUCTION, but "Production" will return OUTPUT_TRANSITION_EFFECT_UNKNOWN.
s | the string to convert to an OutputTransitionEffect_t. |
int OutputTransitionEffect_isValidOutputTransitionEffect | ( | OutputTransitionEffect_t | effect | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given OutputTransitionEffect_t is valid.
effect | the OutputTransitionEffect_t enumeration to query. |
1
(true) if the OutputTransitionEffect_t is OUTPUT_TRANSITION_EFFECT_PRODUCTION or OUTPUT_TRANSITION_EFFECT_ASSIGNMENT_LEVEL, 0
(false) otherwise (including OUTPUT_TRANSITION_EFFECT_UNKNOWN). int OutputTransitionEffect_isValidOutputTransitionEffectString | ( | const char * | s | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid OutputTransitionEffect_t.
The matching is case-sensitive: "production" will return true
, but "Production" will return false
.
s | the string to query. |
1
(true) if the string is "production" or "assignmentLevel"; 0
(false) otherwise. const char * OutputTransitionEffect_toString | ( | OutputTransitionEffect_t | effect | ) |
Returns the string version of the provided OutputTransitionEffect_t enumeration.
effect | the OutputTransitionEffect_t enumeration to convert. |
NULL
if the value is OUTPUT_TRANSITION_EFFECT_UNKNOWN or another invalid enumeration value.