Update date in Doxyfile
[anna.git] / source / xml / Data.cpp
1 // ANNA - Anna is Not Nothingness Anymore                                                         //
2 //                                                                                                //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo                         //
4 //                                                                                                //
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 //
7
8
9 #include <anna/core/functions.hpp>
10
11 #include <anna/xml/Data.hpp>
12 #include <anna/xml/Node.hpp>
13
14 using namespace std;
15 using namespace anna;
16
17 void xml::Data::setValue(const int value)
18 throw() {
19   a_value = anna::functions::asString(value);
20 }
21
22 string xml::Data::asString() const
23 throw() {
24   string result("xml::Data { Node: ");
25   result += a_owner->getName();
26   result += " | Value: ";
27   result += a_value;
28   return result += " }";
29 }
30
31