Parser.h
Go to the documentation of this file.
40 virtual bool parse(char const *dataToParse, size_t const lengthOfData, bool const endOfStream) = 0;
#define RefCountable
The locking interface for use on Reference-Counted classes.
Definition: Lock.h:66
Definition: Parser.h:17
virtual void start(const char *el, const char **attr, size_t attrCount)=0
virtual void end(const char *el)=0
virtual void parserDefault(const char *s, int len)=0
virtual void parserComment(const char *s)=0
Definition: Parser.h:54
ESIParser::Pointer(* newParser)(ESIParserClient *aClient)
Definition: Parser.h:61
Register(const char *_name, ESIParser::Pointer(*_newParser)(ESIParserClient *aClient))
Definition: Parser.cc:55
Definition: Parser.h:27
virtual bool parse(char const *dataToParse, size_t const lengthOfData, bool const endOfStream)=0
virtual long int lineNumber() const =0
static void registerParser(const char *name, Pointer(*new_func)(ESIParserClient *aClient))
virtual char const * errorString() const =0