• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.10.5 API Reference
  • KDE Home
  • Contact Us
 

Nepomuk

  • Nepomuk
  • Query
  • AndTerm
Public Member Functions | Related Functions
Nepomuk::Query::AndTerm Class Reference

#include <Nepomuk/Query/AndTerm>

Inheritance diagram for Nepomuk::Query::AndTerm:
Nepomuk::Query::GroupTerm Nepomuk::Query::Term

List of all members.

Public Member Functions

 AndTerm ()
 AndTerm (const AndTerm &term)
 AndTerm (const Term &term1, const Term &term2, const Term &term3=Term(), const Term &term4=Term(), const Term &term5=Term(), const Term &term6=Term())
 AndTerm (const QList< Term > &terms)
 ~AndTerm ()
AndTerm & operator= (const AndTerm &term)
- Public Member Functions inherited from Nepomuk::Query::GroupTerm
 ~GroupTerm ()
void addSubTerm (const Term &term)
void setSubTerms (const QList< Term > &terms)
QList< Term > subTerms () const
- Public Member Functions inherited from Nepomuk::Query::Term
 Term ()
 Term (const Term &other)
 ~Term ()
bool isAndTerm () const
bool isComparisonTerm () const
bool isLiteralTerm () const
bool isNegationTerm () const
bool isOptionalTerm () const
bool isOrTerm () const
bool isResourceTerm () const
bool isResourceTypeTerm () const
bool isValid () const
bool operator!= (const Term &term) const
QDebug operator<< (QDebug) const
Term & operator= (const Term &other)
bool operator== (const Term &term) const
Term optimized () const
AndTerm toAndTerm () const
AndTerm & toAndTerm ()
ComparisonTerm toComparisonTerm () const
ComparisonTerm & toComparisonTerm ()
LiteralTerm toLiteralTerm () const
LiteralTerm & toLiteralTerm ()
NegationTerm toNegationTerm () const
NegationTerm & toNegationTerm ()
OptionalTerm toOptionalTerm () const
OptionalTerm & toOptionalTerm ()
OrTerm toOrTerm () const
OrTerm & toOrTerm ()
ResourceTerm toResourceTerm () const
ResourceTerm & toResourceTerm ()
ResourceTypeTerm toResourceTypeTerm () const
ResourceTypeTerm & toResourceTypeTerm ()
QString toString () const
Type type () const

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.

Author:
Sebastian Trueg trueg.nosp@m.@kde.nosp@m..org
Since:
4.4

Definition at line 43 of file andterm.h.


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

AndTerm& Nepomuk::Query::AndTerm::operator= ( const AndTerm &  term)

Assignment operator.


Friends And Related Function Documentation

Term operator&& ( const Term &  term1,
const Term &  term2 
)
related

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:
  • andterm.h
  • term.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 16 2013 11:44:46 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Nepomuk

Skip menu "Nepomuk"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs-4.10.5 API Reference

Skip menu "kdelibs-4.10.5 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal