30#include <sbml/xml/XMLNode.h>
31#include <sbml/xml/XMLAttributes.h>
32#include <sbml/xml/XMLInputStream.h>
33#include <sbml/xml/XMLOutputStream.h>
45LIBNUML_CPP_NAMESPACE_BEGIN
76 Dimension (
unsigned int level,
unsigned int version);
315 virtual NMBase*
createObject (LIBSBML_CPP_NAMESPACE_QUALIFIER XMLInputStream& stream);
327LIBNUML_CPP_NAMESPACE_END
335LIBNUML_CPP_NAMESPACE_BEGIN
341LIBNUML_CPP_NAMESPACE_END
NUMLTypeCode_t
An enumeration of NUML types to help identify NUML objects at runtime.
Definition NUMLTypeCodes.h:34
This class stores the atomic values.
Definition AtomicValue.h:40
This class stores the composite values.
Definition CompositeValue.h:50
Tuple * createTuple()
creates a new tuple and adds it to the dimension
Definition Dimension.cpp:120
virtual bool accept(NUMLVisitor &v) const
Accepts the given NUMLVisitor for this instance of Dimension.
Definition Dimension.cpp:67
virtual NUMLTypeCode_t getTypeCode() const
Returns the libNUML type code for this NUML object.
Definition Dimension.cpp:172
CompositeValue * createCompositeValue()
Creates a new CompositeValue and add it to Dimension's list inside this ResultComponent and return it...
Definition Dimension.cpp:92
DimensionType mType
Definition Dimension.h:318
DimensionType
Definition Dimension.h:317
@ TupleType
Definition Dimension.h:317
@ CompositeValueType
Definition Dimension.h:317
@ Unknown
Definition Dimension.h:317
@ AtomicValueType
Definition Dimension.h:317
virtual NMBase * createObject(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLInputStream &stream)
Definition Dimension.cpp:294
virtual Dimension * remove(unsigned int n)
Removes the nth item from this Dimension items and returns a pointer to it.
Definition Dimension.cpp:254
Dimension()
Definition Dimension.cpp:46
virtual Dimension * clone() const
Creates and returns a deep copy of this Dimension instance.
Definition Dimension.cpp:78
virtual Dimension * get(unsigned int n)
Get a CompositeValue from the Dimension.
Definition Dimension.cpp:206
virtual NUMLTypeCode_t getItemTypeCode() const
Returns the libNUML type code for the objects contained in this NUMLList (i.e., CompositeValue object...
Definition Dimension.cpp:180
virtual int getElementPosition() const
Get the ordinal position of this element in the containing object (which in this case is the Model ob...
Definition Dimension.cpp:284
virtual const std::string & getElementName() const
Returns the XML element name of this object.
Definition Dimension.cpp:198
void setType(DimensionType type)
Sets type of this Dimension.
AtomicValue * createAtomicValue()
creates a new atomic value and adds it to the dimension
Definition Dimension.cpp:148
NMBase(const std::string &id="", const std::string &name="")
Only subclasses may create NMBase objects.
Definition NMBase.cpp:68
This represents the numl document that contains all information.
Definition NUMLDocument.h:107
NUMLList(unsigned int level, unsigned int version)
Creates a new NUMLList using the given NUML level and version values.
Definition NUMLList.cpp:28
namespace class
Definition NUMLNamespaces.h:47
Implementation of the Visitor design pattern, for operations on NUML objects.
Definition NUMLVisitor.h:73
stores tuple information
Definition Tuple.h:45
#define BEGIN_C_DECLS
Definition extern.h:112
#define LIBNUML_EXTERN
Begin svn Header.
Definition extern.h:104
#define END_C_DECLS
Definition extern.h:113