ANNA Suite
2020b
Multipurpose development suite for Telco applications
include
anna
xml
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
anna::xml::Data::asString
virtual std::string asString() const
anna::xml::Data::Data
Data()
Definition:
Data.hpp:86
anna::xml::Node
Definition:
Node.hpp:56
anna::xml::Text
Definition:
Text.hpp:34
anna::Allocator
Definition:
Allocator.hpp:19
anna::xml::Data
Definition:
Data.hpp:38
Allocator.hpp
Data.hpp
anna
Definition:
app.hpp:12
anna::xml::Text::asString
std::string asString() const
Definition:
Text.hpp:40
Generated on Mon Oct 30 2023 12:15:34 for ANNA Suite by
1.8.13