Nepomuk
Nepomuk::Query::AndTerm Class Reference
#include <Nepomuk/Query/AndTerm>
Inheritance diagram for Nepomuk::Query::AndTerm:

Related Functions | |
(Note that these are not member functions.) | |
Term | operator&& (const Term &term1, const Term &term2) |
![]() | |
static Term | fromProperty (const Types::Property &property, const Variant &variant) |
Additional Inherited Members | |
![]() | |
enum | Type { Invalid , Literal , Resource , And , Or , Comparison , ResourceType , Negation , Optional } |
![]() | |
static Term | fromString (const QString &s) |
static Term | fromVariant (const Variant &variant) |
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
◆ AndTerm() [1/4]
Nepomuk::Query::AndTerm::AndTerm | ( | ) |
Default constructor: creates an invalid and-term.
◆ AndTerm() [2/4]
Nepomuk::Query::AndTerm::AndTerm | ( | const AndTerm & | term | ) |
Copy constructor.
◆ AndTerm() [3/4]
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.
◆ AndTerm() [4/4]
Nepomuk::Query::AndTerm::AndTerm | ( | const QList< Term > & | terms | ) |
Combine terms
into one and-term.
◆ ~AndTerm()
Nepomuk::Query::AndTerm::~AndTerm | ( | ) |
Destructor.
Member Function Documentation
◆ operator=()
Friends And Related Function Documentation
◆ operator&&()
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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.