9 #ifndef anna_xml_Data_hpp 10 #define anna_xml_Data_hpp 44 const std::string&
getValue()
const {
return a_value; }
62 void setValue(
const char* value) { a_value = (value != NULL) ? value :
""; filter(a_value); }
68 void setValue(
const std::string& value) { a_value = value; }
80 virtual std::string
asString()
const ;
92 void setNode(
Node* node) { a_owner = node; }
100 static const std::string& filter(
const std::string& str) {
return str; }
void setValue(const std::string &value)
Definition: Data.hpp:68
virtual std::string asString() const
Data()
Definition: Data.hpp:86
const std::string & getValue() const
Definition: Data.hpp:44
int getIntegerValue() const
Definition: Data.hpp:56
xml::Node Node
Definition: Node.hpp:21
void setValue(const char *value)
Definition: Data.hpp:62
const char * getCStringValue() const
Definition: Data.hpp:50