tntdb::Statement::const_iterator Class Reference

This class represents a database-cursor. More...

#include <statement_iterator.h>

List of all members.

Public Member Functions

 const_iterator (ICursor *cursor_=0)
bool operator== (const const_iterator &c) const
 Returns true, when the cursor points to the same iteration as the passed iterator.
bool operator!= (const const_iterator &c) const
 Returns true, when the cursor does not point to the same iteration as the passed iterator.
const_iteratoroperator++ ()
 Fetches the next row.
const_iterator operator++ (int)
const Rowoperator* () const
 Returns the current tntdb::Row-object.
const Rowoperator-> () const
 This operator makes the const_iterator look like a pointer.
const ICursor * getImpl () const
 Returns the actual implementation-class.

Detailed Description

This class represents a database-cursor.


Member Function Documentation

const ICursor* tntdb::Statement::const_iterator::getImpl (  )  const [inline]

Returns the actual implementation-class.

bool tntdb::Statement::const_iterator::operator!= ( const const_iterator c  )  const [inline]

Returns true, when the cursor does not point to the same iteration as the passed iterator.

const Row& tntdb::Statement::const_iterator::operator* (  )  const [inline]

Returns the current tntdb::Row-object.

const_iterator& tntdb::Statement::const_iterator::operator++ (  ) 

Fetches the next row.

If no rows are available, the cursor is closed and removed from this class.

const Row* tntdb::Statement::const_iterator::operator-> (  )  const [inline]

This operator makes the const_iterator look like a pointer.

bool tntdb::Statement::const_iterator::operator== ( const const_iterator c  )  const [inline]

Returns true, when the cursor points to the same iteration as the passed iterator.


The documentation for this class was generated from the following file:
Generated on Tue Apr 6 02:00:46 2010 for tntdb by  doxygen 1.6.3