Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

XML_Node Class Reference

base class for XML_Tag. More...

#include <xml.h>

Inheritance diagram for rs::xml::XML_Node:

Inheritance graph
[legend]
Collaboration diagram for XML_Node:

Collaboration graph
[legend]
List of all members.

Public Methods

 XML_Node ()
virtual ~XML_Node ()
int Indent () const
bool Opened () const
virtual void add_son (XML_Node *son_)=0
virtual void remove_son (XML_Node *son_)=0
virtual void open (std::ostream &out)=0
virtual void close (std::ostream &out)=0

Protected Attributes

XML_Node * father
bool opened
int indent

Detailed Description

base class for XML_Tag.

Definition at line 77 of file xml.h.


Constructor & Destructor Documentation

XML_Node  
 

Definition at line 64 of file xml.cpp.

~XML_Node   [virtual]
 

Definition at line 82 of file xml.cpp.


Member Function Documentation

int Indent   const [inline]
 

Definition at line 87 of file xml.h.

Referenced by XML_Text::close(), XML_Tag::close(), XML_Tag::open(), and XML_Node::XML_Node().

bool Opened   const [inline]
 

Definition at line 88 of file xml.h.

Referenced by XML_Text::close(), XML_Tag::close(), and XML_Tag::open().

virtual void add_son XML_Node *    son_ [pure virtual]
 

Implemented in XML_Tag, and XML_Text.

Referenced by XML_Node::XML_Node().

virtual void remove_son XML_Node *    son_ [pure virtual]
 

Implemented in XML_Tag, and XML_Text.

Referenced by XML_Node::~XML_Node().

virtual void open std::ostream &    out [pure virtual]
 

Implemented in XML_Tag, and XML_Text.

Referenced by XML_Text::close(), XML_Tag::close(), and XML_Tag::open().

virtual void close std::ostream &    out [pure virtual]
 

Implemented in XML_Tag, and XML_Text.


Member Data Documentation

XML_Node* father [protected]
 

Definition at line 79 of file xml.h.

Referenced by XML_Text::close(), XML_Tag::close(), XML_Tag::open(), XML_Node::XML_Node(), and XML_Node::~XML_Node().

bool opened [protected]
 

Definition at line 80 of file xml.h.

Referenced by XML_Tag::close(), XML_Node::Indent(), XML_Tag::open(), and XML_Node::XML_Node().

int indent [protected]
 

Definition at line 81 of file xml.h.

Referenced by XML_Node::XML_Node().


The documentation for this class was generated from the following files:
Contact me in case of errors or questions.
This documentation is powered by Doxygen.
(C) 2000-2002 Doxygen