38LIBNUML_CPP_NAMESPACE_BEGIN
61 AtomicValue (
unsigned int level,
unsigned int version);
138 virtual const std::string&
getValue ()
const;
158 int setValue (
const std::string& value);
169 void writeChars(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLOutputStream& stream)
const;
201 virtual void readAttributes(
const LIBSBML_CPP_NAMESPACE_QUALIFIER XMLAttributes & attributes);
202 virtual void writeAttributes(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLOutputStream & stream)
const;
209LIBNUML_CPP_NAMESPACE_END
NUMLTypeCode_t
An enumeration of NUML types to help identify NUML objects at runtime.
Definition NUMLTypeCodes.h:34
void writeChars(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLOutputStream &stream) const
Creates and returns a deep copy of this AtomicValue.
Definition AtomicValue.cpp:204
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 AtomicValue.cpp:182
virtual NUMLTypeCode_t getTypeCode() const
Returns the libNUML type code for this NUML object.
Definition AtomicValue.cpp:72
AtomicValue(unsigned int level, unsigned int version)
Creates an new AtomicValue using the given NUML level and version values.
Definition AtomicValue.cpp:34
virtual const std::string & getElementName() const
Returns the XML element name of this object, which for AtomicValue, is always "atomicValue".
Definition AtomicValue.cpp:81
virtual void writeAttributes(LIBSBML_CPP_NAMESPACE_QUALIFIER XMLOutputStream &stream) const
Subclasses should override this method to write their XML attributes to the XMLOutputStream.
Definition AtomicValue.cpp:192
std::string mValue
Definition AtomicValue.h:205
AtomicValue()
Definition AtomicValue.cpp:129
int setValue(const std::string &value)
Sets the value of the "value" attribute of this NUML object.
Definition AtomicValue.cpp:113
virtual const std::string & getValue() const
Returns the character value in this object.
Definition AtomicValue.cpp:91
virtual bool accept(NUMLVisitor &v) const
Accepts the given NUMLVisitor for this instance of AtomicValue.
Definition AtomicValue.cpp:60
virtual AtomicValue * clone() const
Subclasses should override this method to write out their contained NUML objects as XML elements.
Definition AtomicValue.cpp:124
virtual double getDoubleValue()
Returns the double value of the character value in this object.
Definition AtomicValue.cpp:100
Dimension()
Definition Dimension.cpp:46
namespace class
Definition NUMLNamespaces.h:47
Implementation of the Visitor design pattern, for operations on NUML objects.
Definition NUMLVisitor.h:73
#define LIBNUML_EXTERN
Begin svn Header.
Definition extern.h:104