libSBML C++ API
libSBML 5.19.7 C++ API
|
Definition of FbcExtension, the core module of fbc package. More...
Classes | |
class | FbcExtension |
@sbmlpackage{fbc} 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 | FbcVariableType_t { FBC_VARIABLE_TYPE_LINEAR , FBC_VARIABLE_TYPE_QUADRATIC , FBC_VARIABLE_TYPE_INVALID } |
Enumeration of values permitted as the value of the "fbcvariabletype" attribute on Fbc objects. More... | |
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 , SBML_FBC_USERDEFINEDCONSTRAINTCOMPONENT = 811 , SBML_FBC_USERDEFINEDCONSTRAINT = 812 , SBML_FBC_KEYVALUEPAIR = 813 } |
SBMLFbcTypeCode_t Enumeration of possible types in the libSBML “fbc” package implementation. More... | |
Functions | |
FbcVariableType_t | FbcVariableType_fromString (const char *code) |
Returns the FbcVariableType_t enumeration corresponding to the given string or FBC_VARIABLE_TYPE_INVALIDendif. More... | |
int | FbcVariableType_isValid (FbcVariableType_t fvt) |
Predicate returning 1 (true) or 0 (false) depending on whether the given FbcVariableType_t is valid. More... | |
int | FbcVariableType_isValidString (const char *code) |
Predicate returning 1 (true) or 0 (false) depending on whether the given string is a valid FbcVariableType_t. More... | |
const char * | FbcVariableType_toString (FbcVariableType_t fvt) |
Returns the string version of the provided FbcVariableType_t enumeration. 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 FbcVariableType_t |
Enumeration of values permitted as the value of the "fbcvariabletype" attribute on Fbc objects.
Enumerator | |
---|---|
FBC_VARIABLE_TYPE_LINEAR | The fbc fbcvariabletype is |
FBC_VARIABLE_TYPE_QUADRATIC | The fbc fbcvariabletype is |
FBC_VARIABLE_TYPE_INVALID | Invalid FbcVariableType value. |
enum SBMLFbcTypeCode_t |
SBMLFbcTypeCode_t Enumeration of possible types in the libSBML “fbc” package implementation.
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 | |
SBML_FBC_USERDEFINEDCONSTRAINTCOMPONENT | |
SBML_FBC_USERDEFINEDCONSTRAINT | |
SBML_FBC_KEYVALUEPAIR |
FbcVariableType_t FbcVariableType_fromString | ( | const char * | code | ) |
Returns the FbcVariableType_t enumeration corresponding to the given string or FBC_VARIABLE_TYPE_INVALIDendif.
int FbcVariableType_isValid | ( | FbcVariableType_t | fvt | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given FbcVariableType_t is valid.
fvt | the FbcVariableType_t enumeration to query. |
1
(true) if the FbcVariableType_t is FBC_VARIABLE_TYPE_LINEARendif int FbcVariableType_isValidString | ( | const char * | code | ) |
Predicate returning 1
(true) or 0
(false) depending on whether the given string is a valid FbcVariableType_t.
code | the string to query. |
1
(true) if the string is "linear", "quadratic", or "invalid FbcVariableType value"; 0
(false) otherwise.1
(true), but "Linear" will return 0
(false). const char* FbcVariableType_toString | ( | FbcVariableType_t | fvt | ) |
Returns the string version of the provided FbcVariableType_t enumeration.
fvt | the FbcVariableType_t enumeration value to convert. |
NULL
if the value is FBC_VARIABLE_TYPE_INVALIDendif