23#ifndef ATOMICDESCRIPTION_H_
24#define ATOMICDESCRIPTION_H_
36#include <sbml/xml/XMLAttributes.h>
37#include <sbml/xml/XMLOutputStream.h>
40LIBNUML_CPP_NAMESPACE_BEGIN
155 virtual const std::string&
getName ()
const;
192 int setName (
const std::string& name);
197 virtual const std::string&
getId()
const;
204 virtual int setId(
const std::string&
id);
230 virtual void readAttributes(
const LIBSBML_CPP_NAMESPACE_QUALIFIER XMLAttributes & attributes);
231 virtual void writeAttributes(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLOutputStream & stream)
const;
239LIBNUML_CPP_NAMESPACE_END
245LIBNUML_CPP_NAMESPACE_BEGIN
251LIBNUML_CPP_NAMESPACE_END
NUMLTypeCode_t
An enumeration of NUML types to help identify NUML objects at runtime.
Definition NUMLTypeCodes.h:34
int setValueType(const std::string &valueType)
Sets the valueType of the "valueType" attribute of this NUML object.
Definition AtomicDescription.cpp:125
std::string mOntologyTerm
Definition AtomicDescription.h:235
std::string mValueType
Definition AtomicDescription.h:236
AtomicDescription(unsigned int level, unsigned int version)
Creates an new AtomicDescription using the given NUML level and version values.
Definition AtomicDescription.cpp:39
const std::string & getValueType() const
Returns the value of the "valueType" attribute of this AtomicDescription.
Definition AtomicDescription.cpp:144
const std::string & getOntologyTerm() const
Returns the value of the "ontologyTerm" attribute of this AtomicDescription.
Definition AtomicDescription.cpp:154
std::string mId
Definition AtomicDescription.h:233
int setOntologyTerm(const std::string &ontologyTerm)
Sets the ontologyTerm of the "ontologyTerm" attribute of this NUML object.
Definition AtomicDescription.cpp:133
std::string mName
Definition AtomicDescription.h:234
virtual int setId(const std::string &id)
Definition DimensionDescription.cpp:302
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 * clone() const
Creates and returns a deep copy of this NMBase object.
Definition DimensionDescription.cpp:172
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 const std::string & getId() const
Definition DimensionDescription.cpp:296
virtual NUMLTypeCode_t getTypeCode() const
Returns the libNUML type code for this NUML object.
Definition DimensionDescription.h:198
virtual int setName(const std::string &name)
Definition DimensionDescription.cpp:315
DimensionDescription()
Definition DimensionDescription.cpp:49
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
#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