ARB
Public Member Functions | Protected Attributes | List of all members
XML_Node Class Referenceabstract

#include <xml.hxx>

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

Public Member Functions

 XML_Node (bool is_tag)
 
virtual ~XML_Node ()
 
int Indent () const
 
bool Opened () const
 
virtual void add_son (XML_Node *son_, bool son_is_tag)=0
 
virtual void remove_son (XML_Node *son_)=0
 
virtual void open (FILE *out)=0
 
virtual void close (FILE *out)=0
 

Protected Attributes

XML_Nodefather
 
bool opened
 
int indent
 

Detailed Description

Definition at line 69 of file xml.hxx.

Constructor & Destructor Documentation

XML_Node::XML_Node ( bool  is_tag)

Definition at line 94 of file xml.cxx.

References add_son(), father, Indent(), opened, the_XML_Document, and xml_assert.

XML_Node::~XML_Node ( )
virtual

Definition at line 109 of file xml.cxx.

References father, remove_son(), and the_XML_Document.

Member Function Documentation

int XML_Node::Indent ( ) const
inline

Definition at line 79 of file xml.hxx.

References indent.

Referenced by XML_Comment::close(), and XML_Node().

bool XML_Node::Opened ( ) const
inline

Definition at line 80 of file xml.hxx.

References opened.

Referenced by XML_Text::close().

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

Implemented in XML_Comment, XML_Text, and FINAL_TYPE< SEQTYPE >.

Referenced by XML_Node().

virtual void XML_Node::remove_son ( XML_Node son_)
pure virtual

Implemented in XML_Comment, XML_Text, and FINAL_TYPE< SEQTYPE >.

Referenced by ~XML_Node().

virtual void XML_Node::open ( FILE *  out)
pure virtual

Implemented in XML_Comment, XML_Text, and FINAL_TYPE< SEQTYPE >.

Referenced by XML_Text::close().

virtual void XML_Node::close ( FILE *  out)
pure virtual

Member Data Documentation

XML_Node* XML_Node::father
protected

Definition at line 71 of file xml.hxx.

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

bool XML_Node::opened
protected

Definition at line 72 of file xml.hxx.

Referenced by Opened(), and XML_Node().

int XML_Node::indent
protected

Definition at line 73 of file xml.hxx.

Referenced by Indent().


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