24#ifndef COMPOSITEDESCRIPTION_H_
25#define COMPOSITEDESCRIPTION_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>
44LIBNUML_CPP_NAMESPACE_BEGIN
128 virtual const std::string&
getName ()
const;
130 virtual const std::string&
getId()
const;
131 virtual int setId(
const std::string&
id);
196 virtual int setName (
const std::string& name);
395 virtual NMBase*
createObject (LIBSBML_CPP_NAMESPACE_QUALIFIER XMLInputStream& stream);
397 virtual void readAttributes(
const LIBSBML_CPP_NAMESPACE_QUALIFIER XMLAttributes & attributes);
398 virtual void writeAttributes(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLOutputStream & stream)
const;
413LIBNUML_CPP_NAMESPACE_END
419LIBNUML_CPP_NAMESPACE_BEGIN
425LIBNUML_CPP_NAMESPACE_END
NUMLTypeCode_t
An enumeration of NUML types to help identify NUML objects at runtime.
Definition NUMLTypeCodes.h:34
@ NUML_COMPOSITEDESCRIPTION
Definition NUMLTypeCodes.h:49
This class stores the atomic description.
Definition AtomicDescription.h:42
this class stores the component descriptions
Definition CompositeDescription.h:58
NUMLTypeCode_t mContentType
Definition CompositeDescription.h:407
std::string mOntologyTerm
Definition CompositeDescription.h:405
int setIndexType(const std::string &indexType)
Sets the value of the "indexType" attribute of this NUML object.
Definition CompositeDescription.cpp:248
bool isContentCompositeDescription() const
Predicate returning true or false depending on whether this CompositeDescription object's content is ...
Definition CompositeDescription.cpp:91
const std::string & getOntologyTerm() const
Returns the value of the "ontologyTerm" attribute of this CompositeDescription.
Definition CompositeDescription.cpp:275
std::string mIndexType
Definition CompositeDescription.h:406
virtual NUMLTypeCode_t getTypeCode() const
Returns the libNUML type code for this NUML object.
Definition CompositeDescription.h:258
CompositeDescription()
Definition CompositeDescription.cpp:42
const std::string & getIndexType() const
Returns the value of the "indexType" attribute of this CompositeDescription.
Definition CompositeDescription.cpp:266
std::string mId
Definition CompositeDescription.h:403
bool isContentAtomicDescription() const
Predicate returning true or false depending on whether this CompositeDescription object's content is ...
Definition CompositeDescription.cpp:115
std::string mName
Definition CompositeDescription.h:404
int setOntologyTerm(const std::string &ontologyTerm)
Sets the value of the "ontologyTerm" attribute of this NUML object.
Definition CompositeDescription.cpp:256
bool isContentTupleDescription() const
Predicate returning true or false depending on whether this CompositeDescription object's content is ...
Definition CompositeDescription.cpp:103
virtual int setId(const std::string &id)
Definition DimensionDescription.cpp:302
TupleDescription * createTupleDescription()
creates a new tupledescription and adds it to the dimensiondescription
Definition DimensionDescription.cpp:117
virtual const std::string & getName() const
Definition DimensionDescription.cpp:309
virtual bool accept(NUMLVisitor &v) const
Accepts the given NUMLVisitor for this instance of NMBase.
Definition DimensionDescription.cpp:66
virtual DimensionDescription * remove(unsigned int n)
Removes the nth item from this DimensionDescription items and returns a pointer to it.
Definition DimensionDescription.cpp:237
virtual DimensionDescription * get(unsigned int n)
Returns the XML element name of this object.
Definition DimensionDescription.cpp:190
virtual DimensionDescription * clone() const
Creates and returns a deep copy of this NMBase object.
Definition DimensionDescription.cpp:172
virtual NMBase * createObject(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLInputStream &stream)
Definition DimensionDescription.cpp:327
AtomicDescription * createAtomicDescription()
creates a new atomic description and adds it to the dimensiondescription
Definition DimensionDescription.cpp:145
virtual const std::string & getElementName() const
Returns the XML element name of this object, which for DimensionDescription, is always "model".
Definition DimensionDescription.cpp:75
virtual NUMLTypeCode_t getItemTypeCode() const
Returns the libNUML type code for the objects contained in this NUMLList (i.e., CompositeDescription ...
Definition DimensionDescription.cpp:183
virtual const std::string & getId() const
Definition DimensionDescription.cpp:296
virtual int setName(const std::string &name)
Definition DimensionDescription.cpp:315
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
This represents the numl document that contains all information.
Definition NUMLDocument.h:107
virtual void writeAttributes(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLOutputStream &stream) const
Subclasses should override this method to write their XML attributes to the XMLOutputStream.
Definition NUMLList.cpp:441
virtual void readAttributes(const LIBSBML_CPP_NAMESPACE_QUALIFIER XMLAttributes &attributes)
Subclasses should override this method to read values from the given XMLAttributes set into their spe...
Definition NUMLList.cpp:410
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