#include <TDParser.h>
|
| PDXParser (WPXInputStream *input, WPXDocumentInterface *document) |
| Instantiate a parser for a document in Palm Database Format. More...
|
|
WPXDocumentInterface * | getDocument () const |
| Get the document generator used for this parsing run. More...
|
|
const char * | getName () const |
|
WPXInputStream * | getAppInfoRecord () const |
| Return a stream for the format's appInfo record, if it is present. More...
|
|
WPXInputStream * | getIndexRecord () const |
| Return a stream for the format's index record. More...
|
|
unsigned | getDataRecordCount () const |
| Return the number of data records in the document. More...
|
|
WPXInputStream * | getDataRecord (unsigned n) const |
| Return a stream for the n-th data record. More...
|
|
WPXInputStream * | getDataRecords () const |
| Return a stream for all data records. More...
|
|
WPXInputStream * | getDataRecords (unsigned first, unsigned last) const |
| Return a stream for data records in a given range. More...
|
|
libebook::TDParser::TDParser |
( |
const TDParser & |
| ) |
|
|
private |
libebook::TDParser::TDParser |
( |
WPXInputStream * |
input, |
|
|
WPXDocumentInterface * |
document = 0 |
|
) |
| |
|
explicit |
libebook::TDParser::~TDParser |
( |
| ) |
|
|
virtual |
void libebook::TDParser::closeDocument |
( |
| ) |
|
|
private |
void libebook::TDParser::createConverter |
( |
const std::vector< char > & |
text | ) |
|
|
private |
bool libebook::TDParser::isFormatSupported |
( |
unsigned |
type, |
|
|
unsigned |
creator |
|
) |
| |
|
privatevirtual |
Check whether a specific subformat is supported.
type the subformat's type creator the document's creator app.
- Returns
- true if the subformat is supported
Implements libebook::PDXParser.
void libebook::TDParser::openDocument |
( |
| ) |
|
|
private |
void libebook::TDParser::readAppInfoRecord |
( |
WPXInputStream * |
record | ) |
|
|
privatevirtual |
void libebook::TDParser::readDataRecord |
( |
WPXInputStream * |
record, |
|
|
bool |
last |
|
) |
| |
|
privatevirtual |
void libebook::TDParser::readIndexRecord |
( |
WPXInputStream * |
record | ) |
|
|
privatevirtual |
void libebook::TDParser::readSortInfoRecord |
( |
WPXInputStream * |
record | ) |
|
|
privatevirtual |
bool libebook::TDParser::m_compressed |
|
private |
bool libebook::TDParser::m_openedDocument |
|
private |
unsigned libebook::TDParser::m_read |
|
private |
unsigned libebook::TDParser::m_recordCount |
|
private |
unsigned libebook::TDParser::m_recordSize |
|
private |
unsigned libebook::TDParser::m_textLength |
|
private |
The documentation for this class was generated from the following files: