#include <QgarAppDescr.H>
Using a structure to regroup all these data allows to dynamically allocate the room to store it. This space can the be desallocated when parsing is over. This means the that the overall memory cost for these data is 1 pointer size when no parsing is performed.
For internal use only.
Definition at line 605 of file QgarAppDescr.H.
Public Member Functions | |
| ParseData () | |
| Default constructor. | |
| ParseData (const ParseData &rhs) | |
| Copy-Constructor. | |
| ~ParseData () | |
| Destructor. | |
Public Attributes | |
| ParseState | state |
| Parsing state: Are we parsing the application or a param ? | |
| bool | firstElt |
| Flag used to indicate if the parsed element is the first being parsed. | |
| std::string | buffer |
| Buffer to store parsed characters of an element. | |
| qgar::QgarAppParamDescr * | currentParam |
| Pointer to the current parameter being parsed. | |
|
|
Default constructor.
Definition at line 611 of file QgarAppDescr.H. |
|
|
Copy-Constructor.
Definition at line 619 of file QgarAppDescr.H. References currentParam. |
|
|
Destructor.
Definition at line 629 of file QgarAppDescr.H. References currentParam. |
|
|
Buffer to store parsed characters of an element.
Definition at line 646 of file QgarAppDescr.H. Referenced by qgar::QgarAppDescr::characters(), qgar::QgarAppDescr::endAuthor(), qgar::QgarAppDescr::endBrief(), qgar::QgarAppDescr::endCopyright(), qgar::QgarAppDescr::endLong(), and qgar::QgarAppDescr::endName(). |
|
|
Pointer to the current parameter being parsed.
Definition at line 651 of file QgarAppDescr.H. Referenced by qgar::QgarAppDescr::endBrief(), qgar::QgarAppDescr::endLong(), qgar::QgarAppDescr::endParam(), ParseData(), qgar::QgarAppDescr::startParam(), and ~ParseData(). |
|
|
Flag used to indicate if the parsed element is the first being parsed. This flag is mainly used to test if the XML document is of the correct document tag (ie. first tag is 'application'). Definition at line 643 of file QgarAppDescr.H. |
|
|
Parsing state: Are we parsing the application or a param ?
Definition at line 634 of file QgarAppDescr.H. Referenced by qgar::QgarAppDescr::endBrief(), qgar::QgarAppDescr::endLong(), qgar::QgarAppDescr::endParam(), and qgar::QgarAppDescr::startParam(). |