Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Examples  

YXMLInputParser Class Reference

#include <parser.h>

Inheritance diagram for YXMLInputParser:

Inheritance graph
[legend]
Collaboration diagram for YXMLInputParser:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 YXMLInputParser (const QString &dt)
 Error dialog.

virtual ~YXMLInputParser ()
virtual int CheckSectionStart (const CONFIG_STRING sectionkey)
virtual int NewSection (const CONFIG_STRING sectionkey, YObject &entry)
virtual int NewSectionSet (const CONFIG_STRING sectionkey, YSet &set)
virtual int ReadContentString (QString &target)
virtual int ReadContentInt (int &target)
virtual int ReadContentObject (YDerivedObject &target)
virtual int ReadContentState (bool &target)
int Parse (const QString &filename, YObject &yobject)

Private Member Functions

int SetConfig ()
int GetConfig ()
int ReadInterpretedChar (QChar &b)
bool CheckEndingDelimiter (QChar &b)
bool CheckNewLine (QChar &b)
bool CheckOpeningTag (QChar &b)
bool CheckClosingTag (QChar &b)
bool CheckTag (QChar &b)
int IgnoreSpaces (QChar &b)
int ReadStartKey (QString &key)
int ReadEndKey (QString &key)
int ReadString (QString &target, QChar &c)
bool CheckEnd ()
int ReadHeader ()
int ReadFinal ()
int ParseSection (YObject &yconfig)
void ParseError (int &retvalue)

Private Attributes

QFile file
QString key
QString keyerror
QString doctype
CONFIG_STRING sectionkey
bool cancelparsing
QTextStream * configstream
int linenumber
int columnnumber

Constructor & Destructor Documentation

YXMLInputParser::YXMLInputParser const QString &    dt [inline]
 

Error dialog.

virtual YXMLInputParser::~YXMLInputParser   [inline, virtual]
 


Member Function Documentation

bool YXMLInputParser::CheckClosingTag QChar &    b [private]
 

bool YXMLInputParser::CheckEnd   [private]
 

bool YXMLInputParser::CheckEndingDelimiter QChar &    b [private]
 

bool YXMLInputParser::CheckNewLine QChar &    b [private]
 

bool YXMLInputParser::CheckOpeningTag QChar &    b [private]
 

int YXMLInputParser::CheckSectionStart const CONFIG_STRING    sectionkey [virtual]
 

Implements YInputParser.

bool YXMLInputParser::CheckTag QChar &    b [private]
 

int YXMLInputParser::GetConfig   [private]
 

int YXMLInputParser::IgnoreSpaces QChar &    b [private]
 

int YXMLInputParser::NewSection const CONFIG_STRING    sectionkey,
YObject   entry
[virtual]
 

Implements YInputParser.

int YXMLInputParser::NewSectionSet const CONFIG_STRING    sectionkey,
YSet   set
[virtual]
 

Implements YInputParser.

int YXMLInputParser::Parse const QString &    filename,
YObject   yobject
 

void YXMLInputParser::ParseError int &    retvalue [private]
 

int YXMLInputParser::ParseSection YObject   yconfig [private]
 

int YXMLInputParser::ReadContentInt int &    target [virtual]
 

Implements YInputParser.

int YXMLInputParser::ReadContentObject YDerivedObject   target [virtual]
 

Implements YInputParser.

int YXMLInputParser::ReadContentState bool &    target [virtual]
 

Implements YInputParser.

int YXMLInputParser::ReadContentString QString &    target [virtual]
 

Implements YInputParser.

int YXMLInputParser::ReadEndKey QString &    key [private]
 

int YXMLInputParser::ReadFinal   [private]
 

int YXMLInputParser::ReadHeader   [private]
 

int YXMLInputParser::ReadInterpretedChar QChar &    b [private]
 

int YXMLInputParser::ReadStartKey QString &    key [private]
 

int YXMLInputParser::ReadString QString &    target,
QChar &    c
[private]
 

int YXMLInputParser::SetConfig   [private]
 


Member Data Documentation

bool YXMLInputParser::cancelparsing [private]
 

int YXMLInputParser::columnnumber [private]
 

QTextStream* YXMLInputParser::configstream [private]
 

QString YXMLInputParser::doctype [private]
 

QFile YXMLInputParser::file [private]
 

QString YXMLInputParser::key [private]
 

QString YXMLInputParser::keyerror [private]
 

int YXMLInputParser::linenumber [private]
 

CONFIG_STRING YXMLInputParser::sectionkey [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Feb 14 00:06:59 2003 for Yasa by doxygen1.3-rc3