• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE Support
  • Sitemap
  • Contact Us
 

soprano

Soprano::Util::SimpleStatementIterator

Soprano::Util::SimpleStatementIterator Class Reference

The most simple version of a StatementIterator simply iterates over a list of Statements. More...

#include <Soprano/Util/SimpleStatementIterator>

Inheritance diagram for Soprano::Util::SimpleStatementIterator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SimpleStatementIterator (const SimpleStatementIterator &)
 SimpleStatementIterator (const QList< Statement > &)
 SimpleStatementIterator ()
virtual ~SimpleStatementIterator ()
SimpleStatementIterator & operator= (const SimpleStatementIterator &)
SimpleStatementIterator & operator= (const QList< Statement > &)

Detailed Description

The most simple version of a StatementIterator simply iterates over a list of Statements.

The SimpleStatementIterator has been designed as a trivial extension to StatementIterator and can be used as a drop-in-replacement as shown below:

 QList<Statement> list;
 SimpleStatementIterator it( list );

 // it and it2 iterate over the exact same data
 StatementIterator it2 = it;
Author:
Sebastian Trueg <trueg@kde.org>

Definition at line 53 of file simplestatementiterator.h.


Constructor & Destructor Documentation

Soprano::Util::SimpleStatementIterator::SimpleStatementIterator (  ) 
Soprano::Util::SimpleStatementIterator::SimpleStatementIterator ( const QList< Statement > &   ) 
Soprano::Util::SimpleStatementIterator::SimpleStatementIterator ( const SimpleStatementIterator &   ) 
virtual Soprano::Util::SimpleStatementIterator::~SimpleStatementIterator (  )  [virtual]

Member Function Documentation

SimpleStatementIterator& Soprano::Util::SimpleStatementIterator::operator= ( const SimpleStatementIterator &   ) 

Reimplemented from Soprano::StatementIterator.

SimpleStatementIterator& Soprano::Util::SimpleStatementIterator::operator= ( const QList< Statement > &   ) 

The documentation for this class was generated from the following file:
  • simplestatementiterator.h

soprano

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

KDE Support

Skip menu "KDE Support"
  • akonadi
  • Decibel
  • grantlee
  • kdewin
  • phonon
  •     Backend
  • polkit-qt
  • qca
  • qimageblitz
  • soprano
  • strigi
  •     searchclient
  •     streamanalyzer
  •     streams
Generated for KDE Support by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal