Soprano 2.6.0
Public Member Functions
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:

List of all members.

Public Member Functions

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

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 QList< Statement > &  )
SimpleStatementIterator& Soprano::Util::SimpleStatementIterator::operator= ( const SimpleStatementIterator )

The documentation for this class was generated from the following file: