libSBML C++ API
5.20.2
|
: Implementation of the MultiExtension class More...
Classes | |
class | MultiExtension |
Macros | |
#define | MULTI_CREATE_NS(variable, sbmlns) EXTENSION_CREATE_NS(MultiPkgNamespaces, variable, sbmlns); |
Typedefs | |
typedef SBMLExtensionNamespaces< MultiExtension > | MultiPkgNamespaces |
Enumerations | |
enum | SBMLMultiTypeCode_t { SBML_MULTI_POSSIBLE_SPECIES_FEATURE_VALUE = 1400 , SBML_MULTI_SPECIES_FEATURE_VALUE = 1401 , SBML_MULTI_COMPARTMENT_REFERENCE = 1402 , SBML_MULTI_SPECIES_TYPE_INSTANCE = 1403 , SBML_MULTI_IN_SPECIES_TYPE_BOND = 1404 , SBML_MULTI_OUTWARD_BINDING_SITE = 1405 , SBML_MULTI_SPECIES_FEATURE_TYPE = 1406 , SBML_MULTI_SPECIES_TYPE_COMPONENT_INDEX = 1407 , SBML_MULTI_SPECIES_FEATURE = 1408 , SBML_MULTI_SPECIES_TYPE_COMPONENT_MAP_IN_PRODUCT = 1409 , SBML_MULTI_SPECIES_TYPE = 1410 , SBML_MULTI_BINDING_SITE_SPECIES_TYPE = 1411 , SBML_MULTI_INTRA_SPECIES_REACTION = 1412 , SBML_MULTI_SUBLIST_OF_SPECIES_FEATURES = 1413 } |
SBMLMultiTypeCode_t Enumeration of possible types in the libSBML “multi” package implementation. More... | |
: Implementation of the MultiExtension class
#define MULTI_CREATE_NS | ( | variable, | |
sbmlns | |||
) | EXTENSION_CREATE_NS(MultiPkgNamespaces, variable, sbmlns); |
enum SBMLMultiTypeCode_t |
SBMLMultiTypeCode_t Enumeration of possible types in the libSBML “multi” 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():