#include <Parser.h>

Inheritance diagram for ESIParser:
Collaboration diagram for ESIParser:

Classes

class  Register
 

Public Types

typedef RefCount< ESIParserPointer
 

Public Member Functions

virtual bool parse (char const *dataToParse, size_t const lengthOfData, bool const endOfStream)=0
 
virtual long int lineNumber () const =0
 
virtual char const * errorString () const =0
 

Static Public Member Functions

static void registerParser (const char *name, Pointer(*new_func)(ESIParserClient *aClient))
 
static Pointer NewParser (ESIParserClient *aClient)
 

Static Public Attributes

static char * Type = NULL
 

Protected Member Functions

 ESIParser ()
 

Static Private Attributes

static RegisterParser = NULL
 
static RegisterParsers = NULL
 

Detailed Description

Definition at line 24 of file Parser.h.

Member Typedef Documentation

Definition at line 27 of file Parser.h.

Constructor & Destructor Documentation

ESIParser::ESIParser ( )
inlineprotected

Definition at line 44 of file Parser.h.

Member Function Documentation

virtual char const* ESIParser::errorString ( ) const
pure virtual
virtual long int ESIParser::lineNumber ( ) const
pure virtual
virtual bool ESIParser::parse ( char const *  dataToParse,
size_t const  lengthOfData,
bool const  endOfStream 
)
pure virtual
Return values
trueon success
falseon what?

Implemented in ESICustomParser.

Referenced by ESIContext::parseOneBuffer(), and ESIContext::parserComment().

static void ESIParser::registerParser ( const char *  name,
Pointer(*)(ESIParserClient *aClient)  new_func 
)
static

Member Data Documentation

ESIParser::Register * ESIParser::Parser = NULL
staticprivate

Definition at line 44 of file Parser.h.

Referenced by NewParser().

ESIParser::Register * ESIParser::Parsers = NULL
staticprivate

Definition at line 48 of file Parser.h.

Referenced by NewParser(), and ESIParser::Register::Register().

char * ESIParser::Type = NULL
static

Definition at line 32 of file Parser.h.


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors