class QueryResultIterator { public: QueryResultIterator( const QueryResult& list, TripleService* service ); ~QueryResultIterator(); /** * \return The total number or result statements * * \see QueryResult::count */ int count() const; /** * \return A reference to the current Statement. */ const QVector<Node>& current() const; /** * \return True if there is another statement after the current one. */ bool hasNext() const; /** * Get the next statement. * * \return The next statement or an empty statement if hasNext() returns * false */ const QVector<Node>& next() const; const Node& getNode( const QString& column ) const;