lemAutoRun
1.0
|
#include <PLemAutoRun.h>
Public Member Functions | |
PLemAutoRunXMLParser (PLemAutoRun *lar) | |
~PLemAutoRunXMLParser () | |
bool | startDocument () |
bool | startElement (const QString &, const QString &, const QString &, const QXmlAttributes &qAttr) |
bool | endElement (const QString &, const QString &, const QString &) |
bool | characters (const QString &) |
bool | endDocument () |
Private Member Functions | |
void | setAttribute (const QString key, const QXmlAttributes &qAttr) |
PLemAutoRunXMLParser::setAttribute. More... | |
Private Attributes | |
PLemAutoRun * | fLar |
pointer to the calling class More... | |
ELemAutoRunKeyWords | fKey |
key tag for the parsing process More... | |
Class which handles the startup init XML file for the LEM autorun sequence.
Definition at line 87 of file PLemAutoRun.h.
Definition at line 90 of file PLemAutoRun.h.
PLemAutoRunXMLParser::PLemAutoRunXMLParser | ( | PLemAutoRun * | lar | ) |
XML Parser class for the lem autorun startup file.
lar | pointer to the main class. |
Definition at line 200 of file PLemAutoRun.cpp.
PLemAutoRunXMLParser::~PLemAutoRunXMLParser | ( | ) |
Destructor
Definition at line 211 of file PLemAutoRun.cpp.
bool PLemAutoRunXMLParser::characters | ( | const QString & | str | ) |
The reader calls this function when it has parsed a chunk of character data.
str | content of a tag. This is the real information! |
Definition at line 488 of file PLemAutoRun.cpp.
bool PLemAutoRunXMLParser::endDocument | ( | ) |
The reader calls this function after it has finished parsing. At this point it is checked if all the needed information could be collected. Otherwise some default values will be tried and a warning emitted.
Definition at line 776 of file PLemAutoRun.cpp.
References LAR_XML_MISSING_ENTRY.
bool PLemAutoRunXMLParser::endElement | ( | const QString & | , |
const QString & | , | ||
const QString & | |||
) |
The reader calls this function when it has parsed an end element tag.
Definition at line 473 of file PLemAutoRun.cpp.
|
private |
PLemAutoRunXMLParser::setAttribute.
key | |
val |
Definition at line 1362 of file PLemAutoRun.cpp.
bool PLemAutoRunXMLParser::startDocument | ( | ) |
The reader calls this function when it starts parsing the document.
Definition at line 221 of file PLemAutoRun.cpp.
bool PLemAutoRunXMLParser::startElement | ( | const QString & | , |
const QString & | , | ||
const QString & | qName, | ||
const QXmlAttributes & | qAttr | ||
) |
The reader calls this function when it has parsed a start element tag.
qName | name of the XML tag found. |
Definition at line 234 of file PLemAutoRun.cpp.
|
private |
key tag for the parsing process
Definition at line 133 of file PLemAutoRun.h.
|
private |
pointer to the calling class
Definition at line 132 of file PLemAutoRun.h.