Webmaster  |  Imprint 
C++ Server Pages
Main  |  License  |  Documentation  |  Download 

Statement::const_iterator Class Reference

#include <tntdb/bits/statement_iterator.h>

List of all members.

Public Member Functions

 const_iterator (ICursor *cursor_=0)
bool operator== (const const_iterator &c) const
bool operator!= (const const_iterator &c) const
const_iteratoroperator++ ()
const_iterator operator++ (int)
const Rowoperator * () const
const Rowoperator-> () const
const ICursor * getImpl () const


Detailed Description

This class represents a database-cursor.


Member Function Documentation

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_iterator& operator++ (  ) 

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

const Row& operator * (  )  const

Returns the current tntdb::Row-object.

const Row* operator-> (  )  const

This operator makes the const_iterator look like a pointer.

const ICursor* getImpl (  )  const

Returns the actual implementation-class.

Copyright © 2008 The Tntnet Development Team
Tntnet 1.6