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
virtual void readAttributes(const LIBSBML_CPP_NAMESPACE_QUALIFIER XMLAttributes &attributes)
Subclasses should override this method to create, store, and then return an NUML object corresponding...
Definition AtomicDescription.cpp:191
int setValueType(const std::string &valueType)
Sets the valueType of the "valueType" attribute of this NUML object.
Definition AtomicDescription.cpp:125
virtual NUMLTypeCode_t getTypeCode() const
Returns the libNUML type code for this NUML object.
Definition AtomicDescription.cpp:98
std::string mOntologyTerm
Definition AtomicDescription.h:235
virtual bool accept(NUMLVisitor &v) const
Accepts the given NUMLVisitor for this instance of AtomicDescription.
Definition AtomicDescription.cpp:86
virtual int setId(const std::string &id)
set the id of this element
Definition AtomicDescription.cpp:72
std::string mValueType
Definition AtomicDescription.h:236
virtual void writeAttributes(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLOutputStream &stream) const
Subclasses should override this method to write their XML attributes to the XMLOutputStream.
Definition AtomicDescription.cpp:229
virtual const std::string & getId() const
Definition AtomicDescription.cpp:66
virtual const std::string & getElementName() const
Returns the XML element name of this object, which for AtomicDescription, is always "atomicValue".
Definition AtomicDescription.cpp:108
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
int setName(const std::string &name)
Sets the name of the "name" attribute of this NUML object.
Definition AtomicDescription.cpp:117
AtomicDescription()
Definition AtomicDescription.cpp:176
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
virtual const std::string & getName() const
Returns the character name in this object.
Definition AtomicDescription.cpp:162
virtual AtomicDescription * clone() const
Creates and returns a deep copy of this AtomicDescription.
Definition AtomicDescription.cpp:171
std::string mName
Definition AtomicDescription.h:234
DimensionDescription()
Definition DimensionDescription.cpp:49
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