Nepomuk
Nepomuk::Query::AndTerm Class Reference
Match resource that match all sub terms. More...
#include <Nepomuk/Query/AndTerm>
Inheritance diagram for Nepomuk::Query::AndTerm:

Public Member Functions | |
| AndTerm () | |
| AndTerm (const AndTerm &term) | |
| AndTerm (const QList< Term > &terms) | |
| AndTerm (const Term &term1, const Term &term2, const Term &term3=Term(), const Term &term4=Term(), const Term &term5=Term(), const Term &term6=Term()) | |
| ~AndTerm () | |
| AndTerm & | operator= (const AndTerm &term) |
Related Functions | |
| (Note that these are not member functions.) | |
| Term | operator&& (const Term &term1, const Term &term2) |
Detailed Description
Match resource that match all sub terms.
This class - like OrTerm - is derived from GroupTerm which handles the sub terms.
- Since:
- 4.4
Constructor & Destructor Documentation
| Nepomuk::Query::AndTerm::AndTerm | ( | ) |
Default constructor: creates an invalid and-term.
| Nepomuk::Query::AndTerm::AndTerm | ( | const AndTerm & | term | ) |
Copy constructor.
| Nepomuk::Query::AndTerm::AndTerm | ( | const Term & | term1, |
| const Term & | term2, | ||
| const Term & | term3 = Term(), |
||
| const Term & | term4 = Term(), |
||
| const Term & | term5 = Term(), |
||
| const Term & | term6 = Term() |
||
| ) |
Convinience constructor which allows to combine several terms in one line.
| Nepomuk::Query::AndTerm::AndTerm | ( | const QList< Term > & | terms | ) |
Combine terms into one and-term.
| Nepomuk::Query::AndTerm::~AndTerm | ( | ) |
Destructor.
Member Function Documentation
Friends And Related Function Documentation
Logical and operator which combines two terms into one term matching both term1 and term2.
- Since:
- 4.6
The documentation for this class was generated from the following files:
KDE 4.6 API Reference