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

#include <xml.hxx>

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

Public Member Functions

 XML_Comment (const std::string &content_)
 
 ~XML_Comment () 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

Definition at line 139 of file xml.hxx.

Constructor & Destructor Documentation

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

Definition at line 142 of file xml.hxx.

XML_Comment::~XML_Comment ( )

Definition at line 217 of file xml.cxx.

References close(), and the_XML_Document.

Member Function Documentation

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

Implements XML_Node.

Definition at line 222 of file xml.cxx.

References string().

void XML_Comment::remove_son ( XML_Node son_)
virtual

Implements XML_Node.

Definition at line 226 of file xml.cxx.

References string().

void XML_Comment::open ( FILE *  )
virtual

Implements XML_Node.

Definition at line 230 of file xml.cxx.

void XML_Comment::close ( FILE *  out)
virtual

Implements XML_Node.

Definition at line 232 of file xml.cxx.

References encodeEntities(), fputc(), fputs(), XML_Node::Indent(), and to_indent().

Referenced by ~XML_Comment().


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