Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

P::HTMLParser Class Reference
[Core library]

HTML Push parser. More...

#include <phtml.h>

List of all members.

Public Types

typedef std::map< std::string,
std::string > 
attr_map

Public Member Functions

 HTMLParser ()
virtual ~HTMLParser ()
void parse (const char *buffer, int len)
 Parse chunk of HTML data.

void finish ()
 Finish parsing.

void reset ()
 Reset the parser.

virtual void documentStart ()
 Called on start of an HTML-Document.

virtual void documentEnd ()
 Called at the end of an HTML-Document.

virtual void comment (const std::string &text)
virtual void characters (const char *text, unsigned len)
virtual void elementStart (const std::string &name, const attr_map &attrs)
 Called on start of an HTML-Element.

virtual void elementEnd (const std::string &name)
 Called at the end of an HTML-Element.

virtual void warning (const std::string &msg)
virtual void error (const std::string &msg)
virtual void fatal (const std::string &msg)


Detailed Description

HTML Push parser.

Definition at line 33 of file phtml.h.


Member Typedef Documentation

typedef std::map<std::string, std::string> P::HTMLParser::attr_map
 

Definition at line 38 of file phtml.h.


Constructor & Destructor Documentation

P::HTMLParser::HTMLParser  ) 
 

virtual P::HTMLParser::~HTMLParser  )  [virtual]
 


Member Function Documentation

virtual void P::HTMLParser::characters const char *  text,
unsigned  len
[inline, virtual]
 

Definition at line 57 of file phtml.h.

virtual void P::HTMLParser::comment const std::string &  text  )  [inline, virtual]
 

Definition at line 55 of file phtml.h.

virtual void P::HTMLParser::documentEnd  )  [inline, virtual]
 

Called at the end of an HTML-Document.

Definition at line 53 of file phtml.h.

virtual void P::HTMLParser::documentStart  )  [inline, virtual]
 

Called on start of an HTML-Document.

Definition at line 50 of file phtml.h.

virtual void P::HTMLParser::elementEnd const std::string &  name  )  [inline, virtual]
 

Called at the end of an HTML-Element.

Definition at line 63 of file phtml.h.

virtual void P::HTMLParser::elementStart const std::string &  name,
const attr_map attrs
[inline, virtual]
 

Called on start of an HTML-Element.

Definition at line 60 of file phtml.h.

virtual void P::HTMLParser::error const std::string &  msg  )  [inline, virtual]
 

Definition at line 66 of file phtml.h.

virtual void P::HTMLParser::fatal const std::string &  msg  )  [inline, virtual]
 

Definition at line 67 of file phtml.h.

void P::HTMLParser::finish  ) 
 

Finish parsing.

void P::HTMLParser::parse const char *  buffer,
int  len
 

Parse chunk of HTML data.

void P::HTMLParser::reset  ) 
 

Reset the parser.

virtual void P::HTMLParser::warning const std::string &  msg  )  [inline, virtual]
 

Definition at line 65 of file phtml.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 12 21:08:33 2004 for P::Classes by doxygen 1.3.3