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

XMLTree Class Reference

#include <xml-tree.h>

Inheritance diagram for XMLTree:

BasicReader Reader ReaderIterator List of all members.

Public Methods

 XMLTree ()
 XMLTree (istream &in, const char *encoding="US-ASCII")
 ~XMLTree ()
void parse (istream &in, const char *encoding="US-ASCII")
void write (ostream &)

Public Attributes

TagNode Tree
map< string, TagNode * > LabelTable
bool initFlag

Friends

void start (void *, const char *, const char **)
void data (void *, const char *, int)
void finish (void *, const char *)

Constructor & Destructor Documentation

XMLTree  
 

XMLTree istream &    in,
const char *    encoding = "US-ASCII"
 

~XMLTree  
 


Member Function Documentation

void parse istream &    In,
const char *    encoding = "US-ASCII"
 

XMLTree::parse - Reads characters off the instream one at a time and parses until it reachs the End of File mark. Throws an Error if there is an error in parsing. If not, sets the initFlag flag

Reimplemented in BasicReader.

void write ostream &   
 


Friends And Related Function Documentation

void data void *   ,
const char *   ,
int   
[friend]
 

void finish void *   ,
const char *   
[friend]
 

void start void *   ,
const char *   ,
const char **   
[friend]
 


Member Data Documentation

bool initFlag
 

map<string, TagNode*> LabelTable
 

TagNode Tree
 


Generated on Mon Jun 20 09:16:51 2005 for linbox by doxygen1.2.18