QIviAbstractQueryTerm Class

The base class of all query terms. More...

Header: #include <QIviAbstractQueryTerm>
qmake: QT += ivicore
Inherited By:

QIviConjunctionTerm, QIviFilterTerm, and QIviScopeTerm

Public Types

enum Type { FilterTerm, ConjunctionTerm, ScopeTerm }

Public Functions

virtual QString toString() const = 0
virtual QIviAbstractQueryTerm::Type type() const = 0

Detailed Description

Following terms are supported:

QIviConjunctionTerm

The representation of a conjunction between two query terms

QIviFilterTerm

The representation of a filter

QIviScopeTerm

The representation of a scope which can hold another term

See Qt IVI Query Language for how it can be used.

Member Type Documentation

enum QIviAbstractQueryTerm::Type

ConstantValueDescription
QIviAbstractQueryTerm::FilterTerm0A filter term stands for a filter which checks a specific identifier against a given value.
QIviAbstractQueryTerm::ConjunctionTerm1A conjunction term can combine multiple terms together, either by a OR or an AND conjunction.
QIviAbstractQueryTerm::ScopeTerm2A scope term is used to group terms together, e.g. to apply a negation to a group.

Member Function Documentation

[pure virtual] QString QIviAbstractQueryTerm::toString() const

Returns a string representation of the query.

[pure virtual] QIviAbstractQueryTerm::Type QIviAbstractQueryTerm::type() const

Returns the type of this query term.

© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.