libSBML C++ API
5.18.0
|
Definition of QualExtension, the core module of qual package. More...
Classes | |
class | QualExtension |
qual
Base extension class for the package. More... | |
Macros | |
#define | QUAL_CREATE_NS(variable, sbmlns) EXTENSION_CREATE_NS(QualPkgNamespaces,variable,sbmlns); |
Typedefs | |
typedef SBMLExtensionNamespaces< QualExtension > | QualPkgNamespaces |
Enumerations | |
enum | SBMLQualTypeCode_t { SBML_QUAL_QUALITATIVE_SPECIES = 1100, SBML_QUAL_TRANSITION = 1101, SBML_QUAL_INPUT = 1102, SBML_QUAL_OUTPUT = 1103, SBML_QUAL_FUNCTION_TERM = 1104, SBML_QUAL_DEFAULT_TERM = 1105 } |
SBMLFbcTypeCode_t Enumeration of possible types in the libSBML “qual” package implementation. More... | |
Definition of QualExtension, the core module of qual package.
#define QUAL_CREATE_NS | ( | variable, | |
sbmlns | |||
) | EXTENSION_CREATE_NS(QualPkgNamespaces,variable,sbmlns); |
enum SBMLQualTypeCode_t |
SBMLFbcTypeCode_t Enumeration of possible types in the libSBML “qual” 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_QUAL_QUALITATIVE_SPECIES | |
SBML_QUAL_TRANSITION | |
SBML_QUAL_INPUT | |
SBML_QUAL_OUTPUT | |
SBML_QUAL_FUNCTION_TERM | |
SBML_QUAL_DEFAULT_TERM |