Update date in Doxyfile
[anna.git] / source / xml / Attribute.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/xml/Attribute.hpp>
10 #include <anna/xml/Namespace.hpp>
11
12 using namespace std;
13 using namespace anna;
14
15 string xml::Attribute::asString() const
16 throw() {
17   std::string result("xml::Attribute {");
18   result += Data::asString();
19   result += " | Name: ";
20   result += a_name;
21
22   if(a_namespace != NULL) {
23     result += " | ";
24     result += a_namespace->asString();
25   }
26
27   return result += " }";
28 }
29