|
| SearchXmlCachingReader (const QString &xml) |
| This class has the same semantics as SearchXmlReader, but performs some caching and is thus much more relaxed than SearchXmlReader about the calling order of methods: With this class, you can access properties of a group until the next group is read, access properties and the value of a field until the next field is read, with all calls possible multiple times.
|
|
QString | fieldName () const |
|
SearchXml::Operator | fieldOperator () const |
|
SearchXml::Relation | fieldRelation () const |
|
QString | groupCaption () const |
|
SearchXml::Operator | groupOperator () const |
|
SearchXml::Element | readNext () |
|
QString | value () |
|
QDateTime | valueToDateTime () |
|
QList< QDateTime > | valueToDateTimeList () |
|
double | valueToDouble () |
|
QList< double > | valueToDoubleList () |
|
QList< double > | valueToDoubleOrDoubleList () |
|
int | valueToInt () |
|
QList< int > | valueToIntList () |
|
QList< int > | valueToIntOrIntList () |
|
qlonglong | valueToLongLong () |
|
QList< qlonglong > | valueToLongLongList () |
|
QStringList | valueToStringList () |
|
QList< QString > | valueToStringOrStringList () |
|
| SearchXmlReader (const QString &xml) |
|
SearchXml::Operator | defaultFieldOperator () const |
| Returns the default field operator.
|
|
QString | fieldName () const |
|
SearchXml::Operator | fieldOperator () const |
| Returns the field attributes.
|
|
SearchXml::Relation | fieldRelation () const |
|
QString | groupCaption () const |
| Returns the (optional) group caption.
|
|
SearchXml::Operator | groupOperator () const |
| Returns the group operator.
|
|
bool | isFieldElement () const |
| Returns if the current element is a field element (start or end element).
|
|
bool | isGroupElement () const |
| Returns if the current element is a group element (start or end element).
|
|
SearchXml::Element | readNext () |
| Continue parsing the document.
|
|
void | readToEndOfElement () |
| General helper method: Reads XML until the end element of the current start element in reached.
|
|
void | readToFirstField () |
| General helper method: Reads XML until the first field of the next or first found group is reached.
|
|
bool | readToStartOfElement (const QString &name) |
| General helper method: Reads XML a start element with the given name is found.
|
|
QString | value () |
| Returns the field values.
|
|
QDateTime | valueToDateTime () |
|
QList< QDateTime > | valueToDateTimeList () |
|
double | valueToDouble () |
|
QList< double > | valueToDoubleList () |
|
QList< double > | valueToDoubleOrDoubleList () |
|
int | valueToInt () |
|
QList< int > | valueToIntList () |
|
QList< int > | valueToIntOrIntList () |
|
qlonglong | valueToLongLong () |
|
QList< qlonglong > | valueToLongLongList () |
|
QStringList | valueToStringList () |
|
QList< QString > | valueToStringOrStringList () |
|