24#ifndef DIMENSIONDESCRIPTION_H_
25#define DIMENSIONDESCRIPTION_H_
30#include <sbml/xml/XMLNode.h>
31#include <sbml/xml/XMLAttributes.h>
32#include <sbml/xml/XMLInputStream.h>
33#include <sbml/xml/XMLOutputStream.h>
49LIBNUML_CPP_NAMESPACE_BEGIN
290 virtual const std::string&
getId()
const;
291 virtual int setId(
const std::string&
id);
293 virtual const std::string&
getName()
const;
294 virtual int setName(
const std::string& name);
349 virtual NMBase*
createObject (LIBSBML_CPP_NAMESPACE_QUALIFIER XMLInputStream& stream);
357 virtual void writeXMLNS(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLOutputStream& stream)
const;
364LIBNUML_CPP_NAMESPACE_END
370LIBNUML_CPP_NAMESPACE_BEGIN
376LIBNUML_CPP_NAMESPACE_END
NUMLTypeCode_t
An enumeration of NUML types to help identify NUML objects at runtime.
Definition NUMLTypeCodes.h:34
@ NUML_DIMENSIONDESCRIPTION
Definition NUMLTypeCodes.h:42
This class stores the atomic description.
Definition AtomicDescription.h:42
this class stores the component descriptions
Definition CompositeDescription.h:58
This class stores the dimension description.
Definition DimensionDescription.h:59
TupleDescription * createTupleDescription()
creates a new tupledescription and adds it to the dimensiondescription
Definition DimensionDescription.cpp:117
std::string mId
Definition DimensionDescription.h:359
std::string mName
Definition DimensionDescription.h:360
AtomicDescription * createAtomicDescription()
creates a new atomic description and adds it to the dimensiondescription
Definition DimensionDescription.cpp:145
virtual NUMLTypeCode_t getTypeCode() const
Returns the libNUML type code for this NUML object.
Definition DimensionDescription.h:198
CompositeDescription * createCompositeDescription()
Returns a list of the XML Namespaces declared on this NUML document.
Definition DimensionDescription.cpp:90
DimensionDescription()
Definition DimensionDescription.cpp:49
This is the base class for all numl objects.
Definition NMBase.h:71
virtual NMBase * createObject(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLInputStream &stream)
Subclasses should override this method to create, store, and then return an NUML object corresponding...
Definition NMBase.cpp:1715
virtual int setId(const std::string &sid)
Definition NMBase.cpp:413
virtual const std::string & getName() const
Definition NMBase.cpp:233
virtual int getElementPosition() const
The NUML XML Schema is written such that the order of child elements is significant.
Definition NMBase.cpp:2041
virtual void writeXMLNS(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLOutputStream &stream) const
Subclasses should override this method to write their xmlns attriubutes (if any) to the XMLOutputStre...
Definition NMBase.cpp:1683
virtual const std::string & getId() const
Definition NMBase.cpp:220
This represents the numl document that contains all information.
Definition NUMLDocument.h:107
virtual const NMBase * get(unsigned int n) const
Get an item from the list.
Definition NUMLList.cpp:156
virtual NUMLTypeCode_t getItemTypeCode() const
Get the type code of the objects contained in this NUMLList.
Definition NUMLList.cpp:361
NUMLList(unsigned int level, unsigned int version)
Creates a new NUMLList using the given NUML level and version values.
Definition NUMLList.cpp:28
virtual NMBase * clone() const
Creates and returns a deep copy of this NUMLList.
Definition NUMLList.cpp:122
virtual NMBase * remove(unsigned int n)
Removes the nth item from this NUMLList items and returns a pointer to it.
Definition NUMLList.cpp:233
virtual bool accept(NUMLVisitor &v) const
Accepts the given NUMLVisitor.
Definition NUMLList.cpp:108
virtual const std::string & getElementName() const
Returns the XML element name of this object, which for NUMLList, is always "listOf".
Definition NUMLList.cpp:372
namespace class
Definition NUMLNamespaces.h:47
Implementation of the Visitor design pattern, for operations on NUML objects.
Definition NUMLVisitor.h:73
stores the tuple description
Definition TupleDescription.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