|
libSBML C API
5.18.0
|
Definition of CompExtension_t, the core module of comp package. More...
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_t, the core module of comp package.
| 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_t 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_t::getPackageName() and SBase_t::getTypeCode():