Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

pqxx::result::const_reverse_iterator Class Reference

#include <result.hxx>

Inheritance diagram for pqxx::result::const_reverse_iterator:

pqxx::result::const_iterator List of all members.

Public Types

typedef const_iterator iterator_type
typedef result::difference_type difference_type
typedef const tuplepointer
typedef tuple reference

Public Member Functions

 const_reverse_iterator (const const_reverse_iterator &rhs)
 const_reverse_iterator (const const_iterator &rhs)
iterator_type base () const throw ()
pointer operator-> () const throw ()
reference operator * () const throw ()
const_reverse_iterator operator++ ()
const_reverse_iterator operator++ (int)
const_reverse_iteratoroperator-- ()
const_reverse_iterator operator-- (int)
const_reverse_iterator operator+ (difference_type i) const
const_reverse_iteratoroperator+= (difference_type i)
const_reverse_iterator operator- (difference_type i)
const_reverse_iteratoroperator-= (difference_type i)
bool operator== (const const_reverse_iterator &rhs) const throw ()
bool operator!= (const const_reverse_iterator &rhs) const throw ()
bool operator< (const const_reverse_iterator &rhs) const
bool operator<= (const const_reverse_iterator &rhs) const
bool operator> (const const_reverse_iterator &rhs) const
bool operator>= (const const_reverse_iterator &rhs) const
difference_type operator- (const const_reverse_iterator &rhs) const

Member Typedef Documentation

typedef result::difference_type pqxx::result::const_iterator::difference_type
 

typedef const_iterator pqxx::result::const_reverse_iterator::iterator_type
 

typedef const tuple* pqxx::result::const_iterator::pointer
 

typedef tuple pqxx::result::const_iterator::reference
 


Constructor & Destructor Documentation

pqxx::result::const_reverse_iterator::const_reverse_iterator const const_reverse_iterator rhs  ) 
 

pqxx::result::const_reverse_iterator::const_reverse_iterator const const_iterator rhs  )  [explicit]
 


Member Function Documentation

iterator_type pqxx::result::const_reverse_iterator::base  )  const throw ()
 

reference pqxx::result::const_reverse_iterator::operator *  )  const throw ()
 

Reimplemented from pqxx::result::const_iterator.

bool pqxx::result::const_reverse_iterator::operator!= const const_reverse_iterator rhs  )  const throw ()
 

const_reverse_iterator pqxx::result::const_reverse_iterator::operator+ difference_type  i  )  const
 

Reimplemented from pqxx::result::const_iterator.

const_reverse_iterator pqxx::result::const_reverse_iterator::operator++ int   ) 
 

Reimplemented from pqxx::result::const_iterator.

const_reverse_iterator pqxx::result::const_reverse_iterator::operator++  ) 
 

Reimplemented from pqxx::result::const_iterator.

const_reverse_iterator& pqxx::result::const_reverse_iterator::operator+= difference_type  i  ) 
 

Reimplemented from pqxx::result::const_iterator.

difference_type pqxx::result::const_reverse_iterator::operator- const const_reverse_iterator rhs  )  const
 

const_reverse_iterator pqxx::result::const_reverse_iterator::operator- difference_type  i  ) 
 

const_reverse_iterator pqxx::result::const_reverse_iterator::operator-- int   ) 
 

Reimplemented from pqxx::result::const_iterator.

const_reverse_iterator& pqxx::result::const_reverse_iterator::operator--  ) 
 

Reimplemented from pqxx::result::const_iterator.

const_reverse_iterator& pqxx::result::const_reverse_iterator::operator-= difference_type  i  ) 
 

Reimplemented from pqxx::result::const_iterator.

pointer pqxx::result::const_reverse_iterator::operator->  )  const throw ()
 

The iterator "points to" its own tuple, which is also itself. This allows a result to be addressed as a two-dimensional container without going through the intermediate step of dereferencing the iterator. I hope this works out to be similar to C pointer/array semantics in useful cases[2].

Reimplemented from pqxx::result::const_iterator.

bool pqxx::result::const_reverse_iterator::operator< const const_reverse_iterator rhs  )  const
 

bool pqxx::result::const_reverse_iterator::operator<= const const_reverse_iterator rhs  )  const
 

bool pqxx::result::const_reverse_iterator::operator== const const_reverse_iterator rhs  )  const throw ()
 

bool pqxx::result::const_reverse_iterator::operator> const const_reverse_iterator rhs  )  const
 

bool pqxx::result::const_reverse_iterator::operator>= const const_reverse_iterator rhs  )  const
 


The documentation for this class was generated from the following file:
Generated on Mon Nov 1 19:13:38 2004 for libpqxx by  doxygen 1.3.9.1