libSBML C++ API
5.18.0
|
Definition of FbcExtension, the core module of fbc package. More...
Classes | |
class | FbcExtension |
fbc
Base extension class for the “fbc” package. More... | |
Macros | |
#define | FBC_CREATE_NS(variable, sbmlns) EXTENSION_CREATE_NS(FbcPkgNamespaces, variable, sbmlns); |
#define | FBC_CREATE_NS_WITH_VERSION(variable, sbmlns, version) EXTENSION_CREATE_NS_WITH_VERSION(FbcPkgNamespaces, variable, sbmlns, version); |
Typedefs | |
typedef SBMLExtensionNamespaces< FbcExtension > | FbcPkgNamespaces |
Enumerations | |
enum | SBMLFbcTypeCode_t { SBML_FBC_V1ASSOCIATION = 800, SBML_FBC_FLUXBOUND = 801, SBML_FBC_FLUXOBJECTIVE = 802, SBML_FBC_GENEASSOCIATION = 803, SBML_FBC_OBJECTIVE = 804, SBML_FBC_ASSOCIATION = 805, SBML_FBC_GENEPRODUCTASSOCIATION = 806, SBML_FBC_GENEPRODUCT = 807, SBML_FBC_GENEPRODUCTREF = 808, SBML_FBC_AND = 809, SBML_FBC_OR = 810 } |
SBMLFbcTypeCode_t Enumeration of possible types in the libSBML “fbc” package implementation. More... | |
Definition of FbcExtension, the core module of fbc package.
#define FBC_CREATE_NS | ( | variable, | |
sbmlns | |||
) | EXTENSION_CREATE_NS(FbcPkgNamespaces, variable, sbmlns); |
#define FBC_CREATE_NS_WITH_VERSION | ( | variable, | |
sbmlns, | |||
version | |||
) | EXTENSION_CREATE_NS_WITH_VERSION(FbcPkgNamespaces, variable, sbmlns, version); |
enum SBMLFbcTypeCode_t |
SBMLFbcTypeCode_t Enumeration of possible types in the libSBML “fbc” package implementation.
SBML_
. The set of possible type codes for core elements is defined in the enumeration SBMLTypeCode_t, and in addition, libSBML plug-ins for SBML Level 3 packages define their own extra enumerations of type codes (e.g., SBMLLayoutTypeCode_t for the Level 3 Layout package). Note that different Level 3 package plug-ins may use overlapping type codes; to identify the package to which a given object belongs, call the SBase::getPackageName()
method on the object.The exception to this is lists: all SBML-style list elements have the type SBML_LIST_OF, regardless of what package they are from.
SBMLLayoutTypeCode_t
for the SBML Level 3 Layout extension, SBMLFbcTypeCode_t
for the SBML Level 3 Flux Balance Constraints extension, etc.).NULL
if the value you give it is actually from a package.The following example code illustrates the combined use of SBase::getPackageName() and SBase::getTypeCode():
Enumerator | |
---|---|
SBML_FBC_V1ASSOCIATION |
Association (only used in Version 1; replaced in Version 2 with FbcAssociation) |
SBML_FBC_FLUXBOUND | |
SBML_FBC_FLUXOBJECTIVE | |
SBML_FBC_GENEASSOCIATION |
GeneAssociation (only used in Version 1; replaced in Version 2 with GeneProductAssociation) |
SBML_FBC_OBJECTIVE | |
SBML_FBC_ASSOCIATION | |
SBML_FBC_GENEPRODUCTASSOCIATION | |
SBML_FBC_GENEPRODUCT | |
SBML_FBC_GENEPRODUCTREF | |
SBML_FBC_AND | |
SBML_FBC_OR |