Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

Parser Class Reference

This class implements an XML parser. More...

#include <parser.h>

Collaboration diagram for Parser:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Parser (TagHandler *ph)
virtual ~Parser ()
bool feed (const std::string &data)
void reset ()

Detailed Description

This class implements an XML parser.

Author:
Jakob Schroeter <js@camaya.net>
Since:
0.9

Definition at line 34 of file parser.h.


Constructor & Destructor Documentation

Parser TagHandler ph  ) 
 

Constructs a new Parser object.

Parameters:
ph The object to send incoming Tags to.

Definition at line 22 of file parser.cpp.

~Parser  )  [virtual]
 

Virtual destructor.

Definition at line 28 of file parser.cpp.


Member Function Documentation

bool feed const std::string &  data  ) 
 

Use this function to feed the parser with more XML.

Parameters:
data Raw xml to parse.
Returns:
Returns true if parsing was successful, false otherwise.

Definition at line 33 of file parser.cpp.

void reset  )  [inline]
 

Rests the parser's internal state.

Definition at line 58 of file parser.h.


The documentation for this class was generated from the following files:
Generated on Sat Mar 22 09:32:30 2008 for gloox by  doxygen 1.4.1