libSBML C API
5.18.0
|
Definition of QualExtension_t, the core module of qual package. More...
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_t, the core module of qual package.
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_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():