|
Public Member Functions |
| MorkParser (int defaultScope=0x80) |
bool | open (const QString &path) |
MorkErrors | error () |
MorkTableMap * | getTables (int tableScope) |
MorkRowMap * | getRows (int rowScope, RowScopeMap *table) |
std::string & | getValue (int oid) |
std::string & | getColumn (int oid) |
void | debugWrite (const QString &path) |
Protected Types |
enum | { NPColumns,
NPValues,
NPRows
} |
Protected Member Functions |
void | initVars () |
bool | isWhiteSpace (char c) |
char | nextChar () |
void | parseScopeId (const std::string &TextId, int *Id, int *Scope) |
void | setCurrentRow (int TableScope, int TableId, int RowScope, int RowId) |
bool | parse () |
bool | parseDict () |
bool | parseComment () |
bool | parseCell () |
bool | parseTable () |
bool | parseMeta (char c) |
bool | parseRow (int TableId, int TableScope) |
bool | parseGroup () |
Protected Attributes |
MorkDict | columns_ |
MorkDict | values_ |
TableScopeMap | mork_ |
MorkCells * | currentCells_ |
MorkErrors | error_ |
QByteArray | morkData_ |
int | morkPos_ |
int | nextAddValueId_ |
int | defaultScope_ |
enum MorkParser:: { ... } | nowParsing_ |