1 // ANNA - Anna is Not Nothingness Anymore //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
9 #include <anna/core/functions.hpp>
11 #include <anna/xml/Data.hpp>
12 #include <anna/xml/Node.hpp>
17 void xml::Data::setValue(const int value)
19 a_value = anna::functions::asString(value);
22 string xml::Data::asString() const
24 string result("xml::Data { Node: ");
25 result += a_owner->getName();
26 result += " | Value: ";
28 return result += " }";