libSBML C API
5.18.0
|
This class of objects is defined by libSBML only and has no direct equivalent in terms of SBML components. This class is not prescribed by the SBML specifications, although it is used to implement features defined in SBML.
The Association_t class is a helper class for creating annotations to store gene association information in Version 1 of the SBML Level 3 Flux Balance Constraints (“fbc”) package. In “fbc” Version 2, the equivalent capability is handled by the FbcAssociation_t class and this class (Association_t) is not used.
Public Member Functions | |
Association_t * | Association_clone (const Association_t *a) |
Creates and returns a deep copy of this Association_t object. More... | |
FbcAnd_t * | Association_createFbcAnd (unsigned int level, unsigned int version, unsigned int pkgVersion) |
Creates a new FbcAnd_t (Association_t) using the given SBML Level, Version and “fbc” package version. More... | |
FbcOr_t * | Association_createFbcOr (unsigned int level, unsigned int version, unsigned int pkgVersion) |
Creates a new FbcOr_t (Association_t) using the given SBML Level, Version and “fbc” package version. More... | |
GeneProductRef_t * | Association_createGeneProductRef (unsigned int level, unsigned int version, unsigned int pkgVersion) |
Creates a new GeneProductRef_t (Association_t) using the given SBML Level, Version and “fbc” package version. More... | |
void | Association_free (Association_t *a) |
Frees this Association_t object. More... | |
int | Association_isFbcAnd (const Association_t *a) |
Predicate returning 1 if this Association_t is of type FbcAnd_t. More... | |
int | Association_isFbcOr (const Association_t *a) |
Predicate returning 1 if this Association_t is of type FbcOr_t. More... | |
int | Association_isGeneProductRef (const Association_t *a) |
Predicate returning 1 if this Association_t is of type GeneProductRef_t. More... | |
Association_t * Association_clone | ( | const Association_t * | a | ) |
Creates and returns a deep copy of this Association_t object.
a | the Association_t structure. |
FbcAnd_t * Association_createFbcAnd | ( | unsigned int | level, |
unsigned int | version, | ||
unsigned int | pkgVersion | ||
) |
Creates a new FbcAnd_t (Association_t) using the given SBML Level, Version and “fbc” package version.
level | an unsigned int, the SBML Level to assign to this Association_t. |
version | an unsigned int, the SBML Version to assign to this Association_t. |
pkgVersion | an unsigned int, the SBML Fbc Version to assign to this Association_t. |
FbcOr_t * Association_createFbcOr | ( | unsigned int | level, |
unsigned int | version, | ||
unsigned int | pkgVersion | ||
) |
Creates a new FbcOr_t (Association_t) using the given SBML Level, Version and “fbc” package version.
level | an unsigned int, the SBML Level to assign to this Association_t. |
version | an unsigned int, the SBML Version to assign to this Association_t. |
pkgVersion | an unsigned int, the SBML Fbc Version to assign to this Association_t. |
GeneProductRef_t * Association_createGeneProductRef | ( | unsigned int | level, |
unsigned int | version, | ||
unsigned int | pkgVersion | ||
) |
Creates a new GeneProductRef_t (Association_t) using the given SBML Level, Version and “fbc” package version.
level | an unsigned int, the SBML Level to assign to this Association_t. |
version | an unsigned int, the SBML Version to assign to this Association_t. |
pkgVersion | an unsigned int, the SBML Fbc Version to assign to this Association_t. |
void Association_free | ( | Association_t * | a | ) |
Frees this Association_t object.
a | the Association_t structure. |
int Association_isFbcAnd | ( | const Association_t * | a | ) |
Predicate returning 1
if this Association_t is of type FbcAnd_t.
a | the Association_t structure. |
1
if this Association_t is of type FbcAnd_t, 0
otherwise int Association_isFbcOr | ( | const Association_t * | a | ) |
Predicate returning 1
if this Association_t is of type FbcOr_t.
a | the Association_t structure. |
1
if this Association_t is of type FbcOr_t, 0
otherwise int Association_isGeneProductRef | ( | const Association_t * | a | ) |
Predicate returning 1
if this Association_t is of type GeneProductRef_t.
a | the Association_t structure. |
1
if this Association_t is of type GeneProductRef_t, 0
otherwise