Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members

ContentTagHandler Class Reference

The busiest class in extracting the contents tree by parsing an index file. More...

#include <contenttaghandler.h>

Inheritance diagram for ContentTagHandler:

wxHtmlTagHandler List of all members.

Public Member Functions

 ContentTagHandler (wxTreeCtrl *toBuild)
 Constructs the tag handler.

wxString GetSupportedTags ()
 What tags are we interested in?

bool HandleTag (const wxHtmlTag &tag)
 Does the bulk of the work, constructing the tree.


Private Attributes

wxTreeItemId _parents [TREE_BUF_SIZE]
int _level
wxTreeCtrl * _treeCtrl
wxString _title
wxString _url

Detailed Description

The busiest class in extracting the contents tree by parsing an index file.


Constructor & Destructor Documentation

ContentTagHandler::ContentTagHandler wxTreeCtrl *  toBuild  ) 
 

Constructs the tag handler.

Parameters:
toBuild The tree control to build. The control must be empty.


Member Function Documentation

bool ContentTagHandler::HandleTag const wxHtmlTag &  tag  ) 
 

Does the bulk of the work, constructing the tree.

Parameters:
tag The current tag to handle.
Returns:
true if we've parsed inner tags also, false otherwise.


The documentation for this class was generated from the following files:
Generated on Thu Oct 2 11:15:00 2003 for xCHM by doxygen 1.3.3