gxXmlTableParser Class Reference

#include <gxXmlTableParser.h>

Inheritance diagram for gxXmlTableParser:

gxXmlAbstractParser List of all members.

Public Member Functions

 gxXmlTableParser ()
virtual ~gxXmlTableParser ()
virtual void onElement ()
void addRow (std::list< std::string > &items)
void addHeaders (std::list< std::string > &items)
gxXmlTablegetTable ()
 Returns a reference to the most recently parsed table.
virtual bool onTable (gxXmlTable *table)
 When parsing a document containing multiple tables, the caller must subclass the parser and override this method.

Public Attributes

std::string elem1Text
std::string docId
std::list< std::string > tds
std::list< std::string > ths
gxXmlTablem_table

Constructor & Destructor Documentation

gxXmlTableParser::gxXmlTableParser  ) 
 

virtual gxXmlTableParser::~gxXmlTableParser  )  [virtual]
 


Member Function Documentation

void gxXmlTableParser::addHeaders std::list< std::string > &  items  ) 
 

void gxXmlTableParser::addRow std::list< std::string > &  items  ) 
 

gxXmlTable* gxXmlTableParser::getTable  ) 
 

Returns a reference to the most recently parsed table.

Useful if you are parsing a document known to have only one table.

virtual void gxXmlTableParser::onElement  )  [virtual]
 

Implements gxXmlAbstractParser.

virtual bool gxXmlTableParser::onTable gxXmlTable table  )  [inline, virtual]
 

When parsing a document containing multiple tables, the caller must subclass the parser and override this method.

The method will be called each time a table is fully parsed and available. If the method returns true it means that the table will be kept by the subclass and should not be deleted by the base class.


Member Data Documentation

std::string gxXmlTableParser::docId
 

std::string gxXmlTableParser::elem1Text
 

gxXmlTable* gxXmlTableParser::m_table
 

std::list<std::string> gxXmlTableParser::tds
 

std::list<std::string> gxXmlTableParser::ths
 


The documentation for this class was generated from the following file:
Generated on Mon Nov 21 01:01:37 2005 for gxLib by  doxygen 1.4.5