libSBML C API
5.18.0
|
The PossibleSpeciesFeatureValue_t object is a child of a SpeciesFeatureType_t, and defines one value (though its optional "numericValue" attribute) which the parent SpeciesFeatureType_t can hold.
PossibleSpeciesFeatureValue_t * PossibleSpeciesFeatureValue_clone | ( | PossibleSpeciesFeatureValue_t * | psfv | ) |
Creates and returns a deep copy of this PossibleSpeciesFeatureValue_t object.
psfv | the PossibleSpeciesFeatureValue_t structure. |
PossibleSpeciesFeatureValue_t * PossibleSpeciesFeatureValue_create | ( | unsigned int | level, |
unsigned int | version, | ||
unsigned int | pkgVersion | ||
) |
Creates a new PossibleSpeciesFeatureValue_t using the given SBML Level, Version and “multi” package version.
level | an unsigned int, the SBML Level to assign to this PossibleSpeciesFeatureValue_t. |
version | an unsigned int, the SBML Version to assign to this PossibleSpeciesFeatureValue_t. |
pkgVersion | an unsigned int, the SBML Multi Version to assign to this PossibleSpeciesFeatureValue_t. |
void PossibleSpeciesFeatureValue_free | ( | PossibleSpeciesFeatureValue_t * | psfv | ) |
Frees this PossibleSpeciesFeatureValue_t object.
psfv | the PossibleSpeciesFeatureValue_t structure. |
char * PossibleSpeciesFeatureValue_getId | ( | const PossibleSpeciesFeatureValue_t * | psfv | ) |
Returns the value of the "id" attribute of this PossibleSpeciesFeatureValue_t.
psfv | the PossibleSpeciesFeatureValue_t structure whose id is sought. |
char * PossibleSpeciesFeatureValue_getName | ( | const PossibleSpeciesFeatureValue_t * | psfv | ) |
Returns the value of the "name" attribute of this PossibleSpeciesFeatureValue_t.
psfv | the PossibleSpeciesFeatureValue_t structure whose name is sought. |
char * PossibleSpeciesFeatureValue_getNumericValue | ( | const PossibleSpeciesFeatureValue_t * | psfv | ) |
Returns the value of the "numericValue" attribute of this PossibleSpeciesFeatureValue_t.
psfv | the PossibleSpeciesFeatureValue_t structure whose numericValue is sought. |
int PossibleSpeciesFeatureValue_hasRequiredAttributes | ( | PossibleSpeciesFeatureValue_t * | psfv | ) |
Predicate returning 1
(true) if all the required attributes for this PossibleSpeciesFeatureValue_t object have been set.
psfv | the PossibleSpeciesFeatureValue_t structure. |
1
(true) to indicate that all the required attributes of this PossibleSpeciesFeatureValue_t have been set, otherwise 0
(false) is returned.int PossibleSpeciesFeatureValue_isSetId | ( | const PossibleSpeciesFeatureValue_t * | psfv | ) |
Predicate returning 1
(true) if this PossibleSpeciesFeatureValue_t's "id" attribute is set.
psfv | the PossibleSpeciesFeatureValue_t structure. |
1
(true) if this PossibleSpeciesFeatureValue_t's "id" attribute has been set, otherwise 0
(false) is returned. int PossibleSpeciesFeatureValue_isSetName | ( | const PossibleSpeciesFeatureValue_t * | psfv | ) |
Predicate returning 1
(true) if this PossibleSpeciesFeatureValue_t's "name" attribute is set.
psfv | the PossibleSpeciesFeatureValue_t structure. |
1
(true) if this PossibleSpeciesFeatureValue_t's "name" attribute has been set, otherwise 0
(false) is returned. int PossibleSpeciesFeatureValue_isSetNumericValue | ( | const PossibleSpeciesFeatureValue_t * | psfv | ) |
Predicate returning 1
(true) if this PossibleSpeciesFeatureValue_t's "numericValue" attribute is set.
psfv | the PossibleSpeciesFeatureValue_t structure. |
1
(true) if this PossibleSpeciesFeatureValue_t's "numericValue" attribute has been set, otherwise 0
(false) is returned. int PossibleSpeciesFeatureValue_setId | ( | PossibleSpeciesFeatureValue_t * | psfv, |
const char * | id | ||
) |
Sets the value of the "id" attribute of this PossibleSpeciesFeatureValue_t.
psfv | the PossibleSpeciesFeatureValue_t structure. |
id | const char * value of the "id" attribute to be set. |
id
= NULL
or an empty string is equivalent to calling PossibleSpeciesFeatureValue_unsetId(). int PossibleSpeciesFeatureValue_setName | ( | PossibleSpeciesFeatureValue_t * | psfv, |
const char * | name | ||
) |
Sets the value of the "name" attribute of this PossibleSpeciesFeatureValue_t.
psfv | the PossibleSpeciesFeatureValue_t structure. |
name | const char * value of the "name" attribute to be set. |
name
= NULL
or an empty string is equivalent to calling PossibleSpeciesFeatureValue_unsetName(). int PossibleSpeciesFeatureValue_setNumericValue | ( | PossibleSpeciesFeatureValue_t * | psfv, |
const char * | numericValue | ||
) |
Sets the value of the "numericValue" attribute of this PossibleSpeciesFeatureValue_t.
psfv | the PossibleSpeciesFeatureValue_t structure. |
numericValue | const char * value of the "numericValue" attribute to be set. |
int PossibleSpeciesFeatureValue_unsetId | ( | PossibleSpeciesFeatureValue_t * | psfv | ) |
Unsets the value of the "id" attribute of this PossibleSpeciesFeatureValue_t.
psfv | the PossibleSpeciesFeatureValue_t structure. |
int PossibleSpeciesFeatureValue_unsetName | ( | PossibleSpeciesFeatureValue_t * | psfv | ) |
Unsets the value of the "name" attribute of this PossibleSpeciesFeatureValue_t.
psfv | the PossibleSpeciesFeatureValue_t structure. |
int PossibleSpeciesFeatureValue_unsetNumericValue | ( | PossibleSpeciesFeatureValue_t * | psfv | ) |
Unsets the value of the "numericValue" attribute of this PossibleSpeciesFeatureValue_t.
psfv | the PossibleSpeciesFeatureValue_t structure. |