 
 
	 
In file ../include/rxp/XML_Parser.h:
| class XML_Parser | 
An actual parser.
| ![[more]](icon1.gif)  | ~XML_Parser () Destructor, may close input if required | 
| ![[more]](icon1.gif) void | track_context (bool flag) Request that parser keep track of the currently open elements. | 
| ![[more]](icon1.gif) void | track_contents (bool flag) Keep track of the content of open elements. | 
| ![[more]](icon1.gif) EST_String | context (int n) Get the name of the nth enclosing element. | 
| ![[more]](icon1.gif) void | go () Run the parser. | 
| ![[more]](icon1.gif) XML_Parser_Class* | pclass The class to which this parser belogs. | 
| ![[more]](icon1.gif) XBit | current_bit The piece of markup being processed | 
| ![[more]](icon1.gif) InputSource | source Where we are reading from | 
| ![[more]](icon1.gif) Entity | initial_entity The entity we started from. | 
| ![[more]](icon1.gif) void* | data Arbitrary data which can beused by callbacks | 
| ![[more]](icon1.gif) Parser | p The RXP parser object | 
| ![[more]](icon1.gif) EST_TDeque<EST_String> | p_context If context is being tracked, this is a stack of element names | 
| ![[more]](icon1.gif)  | XML_Parser (XML_Parser_Class &parent, InputSource source, Entity initial_entity, void* data) Creator used by XML_Parser_Class::make_parser() | 
| ![[more]](icon1.gif) InputSource | open (Entity ent) Open. | 
| ![[more]](icon1.gif) const char* | get_error () Get the error message for the last error | 
An actual parser. Each such instance parses just one stream which is given when the parser is created.The behaviour of the parser is given by the class to which it belongs.
 XML_Parser_Class* pclass
XML_Parser_Class* pclass
 XBit current_bit
XBit current_bit
 InputSource source
InputSource source
 Entity initial_entity
Entity initial_entity
 void* data
void* data
 Parser p
Parser p
 EST_TDeque<EST_String>  p_context
EST_TDeque<EST_String>  p_context
 XML_Parser(XML_Parser_Class &parent, InputSource source, Entity initial_entity, void* data)
 XML_Parser(XML_Parser_Class &parent, InputSource source, Entity initial_entity, void* data)
 InputSource open(Entity ent)
InputSource open(Entity ent)
 const char* get_error()
const char* get_error()
 ~XML_Parser()
 ~XML_Parser()
 void track_context(bool flag)
void track_context(bool flag)
These are recorded on a atsck. Use context() to access the information.
 void track_contents(bool flag)
void track_contents(bool flag)
Not yet implemented.
 EST_String context(int n)
EST_String context(int n)
context(0) is the element we are directly inside.
 void go()
void go()
Alphabetic index HTML hierarchy of classes or Java
 
This page is part of the 
Edinburgh Speech Tools Library documentation
Copyright  University of Edinburgh 1997
Contact:  
         speech_tools@cstr.ed.ac.uk