class QueryResultIterator { public: QueryResultIterator( const QueryResult& list, TripleService* service ); ~QueryResultIterator(); /** * \return The total number of result Bindings. * * \see QueryResult::count */ int count() const; /** * \return A reference to the current Bindings. */ const QVector& current() const; /** * \return True if there is another statement after the current one. */ bool hasNext() const; /** * Get the next Binding. * * \return The next statement or an empty statement if hasNext() returns * false */ const QVector& next() const; /** * \return The Node with the given name in current Bindings. */ const Node& getBinding( const QString& column ) const; /** * \return The true if the QueryResult is a boolean value. */ bool isBoolean() const; /** * \return The the boolean value of a query. */ boolean boolean() const; }