ARB
Public Member Functions | List of all members
XML_Text Class Reference

a xml text node More...

#include <xml.hxx>

Inheritance diagram for XML_Text:
Inheritance graph
[legend]
Collaboration diagram for XML_Text:
Collaboration graph
[legend]

Public Member Functions

 XML_Text (const std::string &content_)
 
 ~XML_Text () OVERRIDE
 
void add_son (XML_Node *son_, bool son_is_tag) OVERRIDE __ATTR__NORETURN
 
void remove_son (XML_Node *son_) OVERRIDE __ATTR__NORETURN
 
void open (FILE *) OVERRIDE
 
void close (FILE *out) OVERRIDE
 
- Public Member Functions inherited from XML_Node
 XML_Node (bool is_tag)
 
virtual ~XML_Node ()
 
int Indent () const
 
bool Opened () const
 

Additional Inherited Members

- Protected Attributes inherited from XML_Node
XML_Nodefather
 
bool opened
 
int indent
 

Detailed Description

a xml text node

Definition at line 122 of file xml.hxx.

Constructor & Destructor Documentation

XML_Text::XML_Text ( const std::string content_)
inline

Create text (content) in xml

Parameters
content_the content

Definition at line 130 of file xml.hxx.

XML_Text::~XML_Text ( )

Definition at line 194 of file xml.cxx.

References close(), and the_XML_Document.

Member Function Documentation

void XML_Text::add_son ( XML_Node son_,
bool  son_is_tag 
)
virtual

Implements XML_Node.

Definition at line 199 of file xml.cxx.

References string().

void XML_Text::remove_son ( XML_Node son_)
virtual

Implements XML_Node.

Definition at line 203 of file xml.cxx.

References string().

void XML_Text::open ( FILE *  )
virtual

Implements XML_Node.

Definition at line 207 of file xml.cxx.

void XML_Text::close ( FILE *  out)
virtual

Implements XML_Node.

Definition at line 209 of file xml.cxx.

References encodeEntities(), XML_Node::father, fputs(), XML_Node::open(), and XML_Node::Opened().

Referenced by ~XML_Text().


The documentation for this class was generated from the following files: