|
libSBML C++ API
5.18.0
|
Definition of CompExtension, the core module of comp package. More...
Classes | |
| class | CompExtension |
| comp
Base extension class for the package. More... | |
Macros | |
| #define | COMP_CREATE_NS(variable, sbmlns) EXTENSION_CREATE_NS(CompPkgNamespaces,variable,sbmlns); |
Typedefs | |
| typedef SBMLExtensionNamespaces< CompExtension > | CompPkgNamespaces |
Enumerations | |
| enum | SBMLCompTypeCode_t { SBML_COMP_SUBMODEL = 250, SBML_COMP_MODELDEFINITION = 251, SBML_COMP_EXTERNALMODELDEFINITION = 252, SBML_COMP_SBASEREF = 253, SBML_COMP_DELETION = 254, SBML_COMP_REPLACEDELEMENT = 255, SBML_COMP_REPLACEDBY = 256, SBML_COMP_PORT = 257 } |
| SBMLCompTypeCode_t Enumeration of possible types in the libSBML “comp” package implementation. More... | |
Definition of CompExtension, the core module of comp package.
| #define COMP_CREATE_NS | ( | variable, | |
| sbmlns | |||
| ) | EXTENSION_CREATE_NS(CompPkgNamespaces,variable,sbmlns); |
| enum SBMLCompTypeCode_t |
SBMLCompTypeCode_t Enumeration of possible types in the libSBML “comp” 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_COMP_SUBMODEL | |
| SBML_COMP_MODELDEFINITION | |
| SBML_COMP_EXTERNALMODELDEFINITION | |
| SBML_COMP_SBASEREF | |
| SBML_COMP_DELETION | |
| SBML_COMP_REPLACEDELEMENT | |
| SBML_COMP_REPLACEDBY | |
| SBML_COMP_PORT | |