#include <parser.h>
Collaboration diagram for Parser:
Public Types | |
enum | ParserState { PARSER_OK, PARSER_NOMEM, PARSER_BADXML } |
Public Member Functions | |
Parser (ClientBase *parent) | |
virtual | ~Parser () |
ParserState | feed (const std::string &data) |
Friends | |
int | cdataHook (Parser *parser, char *data, size_t len) |
int | tagHook (Parser *parser, char *name, char **atts, int type) |
Definition at line 36 of file parser.h.
|
Describes the return values of the parser. |
|
Constructs a new Parser object.
Definition at line 24 of file parser.cpp. References Parser::cdataHook, and Parser::tagHook. |
|
Virtual destructor. Definition at line 30 of file parser.cpp. |
|
Use this function to feed the parser with more XML.
Definition at line 36 of file parser.cpp. References Parser::PARSER_BADXML, Parser::PARSER_NOMEM, and Parser::PARSER_OK. Referenced by Connection::recv(). |