All pastes #222662 Raw Edit

trueg

public cpp v1 · immutable
#222662 ·published 2006-10-26 13:53 UTC
rendered paste body
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;