Main Page | Class List | File List | Class Members

MorkParser Class Reference

Class MorkParser. More...

#include <MorkParser.h>

List of all members.

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_


Detailed Description

Class MorkParser.


Member Function Documentation

MorkErrors MorkParser::error  )  [inline]
 

Return error status

std::string & MorkParser::getColumn int  oid  ) 
 

Return value of specified column oid

MorkRowMap * MorkParser::getRows int  rowScope,
RowScopeMap *  table
 

Rerturns all rows under specified scope

MorkTableMap * MorkParser::getTables int  tableScope  ) 
 

Returns all tables of specified scope

std::string & MorkParser::getValue int  oid  ) 
 

Return value of specified value oid

bool MorkParser::open const QString &  path  ) 
 

Open and parse mork file


The documentation for this class was generated from the following files:
Generated on Tue Oct 16 11:05:54 2007 for MorkParser by doxygen 1.3.4