ANNA Suite  2020b
Multipurpose development suite for Telco applications
Text.hpp
Go to the documentation of this file.
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 #ifndef anna_xml_Text_hpp
10 #define anna_xml_Text_hpp
11 
12 #include <anna/core/Allocator.hpp>
13 
14 #include <anna/xml/Data.hpp>
15 
16 namespace anna {
17 
18 namespace xml {
19 
34 class Text : public Data {
35 public:
40  std::string asString() const {
41  std::string result("xml::Text {");
42  result += Data::asString();
43  return result += " }";
44  }
45 
46 private:
47  /* Para evitar que se pueda crear desde el exterior */
48  Text() : Data() {;}
49 
50  virtual ~Text() {;}
51 
52  friend class Node;
53  friend class Allocator<Text>;
54 };
55 
56 }
57 }
58 
59 #endif
virtual std::string asString() const
Data()
Definition: Data.hpp:86
Definition: Node.hpp:56
Definition: Text.hpp:34
Definition: Allocator.hpp:19
Definition: Data.hpp:38
Definition: app.hpp:12
std::string asString() const
Definition: Text.hpp:40