#include <gxXmlTableParser.h>
Inheritance diagram for gxXmlTableParser:
Public Member Functions | |
gxXmlTableParser () | |
virtual | ~gxXmlTableParser () |
virtual void | onElement () |
void | addRow (std::list< std::string > &items) |
void | addHeaders (std::list< std::string > &items) |
gxXmlTable * | getTable () |
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 |
gxXmlTable * | m_table |
|
|
|
|
|
|
|
|
|
Returns a reference to the most recently parsed table. Useful if you are parsing a document known to have only one table. |
|
Implements gxXmlAbstractParser. |
|
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. |
|
|
|
|
|
|
|
|
|
|