bucket2d< T >::iterator Class Reference

#include <bucket2d.h>

Collaboration diagram for bucket2d< T >::iterator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 iterator (bucket2d &b, float u, float v, float r)
 iterator (bucket2d &b)
void operator++ ()
T * operator* ()
T * elem ()
bool end ()

Protected Member Functions

void next ()

Protected Attributes

bucket2db
unsigned cur_idx
unsigned ub
unsigned ue
unsigned vb
unsigned ve
unsigned i
unsigned j
T * it


Detailed Description

template<typename T>
class bucket2d< T >::iterator

Definition at line 69 of file bucket2d.h.


Constructor & Destructor Documentation

template<typename T >
bucket2d< T >::iterator::iterator ( bucket2d b,
float  u,
float  v,
float  r 
) [inline]

template<typename T >
bucket2d< T >::iterator::iterator ( bucket2d b  )  [inline]


Member Function Documentation

template<typename T>
T* bucket2d< T >::iterator::elem (  )  [inline]

Definition at line 75 of file bucket2d.h.

References bucket2d< T >::iterator::it.

template<typename T>
bool bucket2d< T >::iterator::end (  )  [inline]

Definition at line 76 of file bucket2d.h.

References bucket2d< T >::iterator::j, and bucket2d< T >::iterator::ve.

Referenced by bucket2d< T >::closest_point().

template<typename T >
void bucket2d< T >::iterator::next (  )  [inline, protected]

template<typename T>
T* bucket2d< T >::iterator::operator* (  )  [inline]

Definition at line 74 of file bucket2d.h.

References bucket2d< T >::iterator::it.

template<typename T >
void bucket2d< T >::iterator::operator++ (  )  [inline]

Definition at line 204 of file bucket2d.h.

References bucket2d< T >::iterator::it, and bucket2d< T >::iterator::next().


Member Data Documentation

template<typename T>
bucket2d* bucket2d< T >::iterator::b [protected]

Definition at line 79 of file bucket2d.h.

Referenced by bucket2d< T >::iterator::iterator(), and bucket2d< T >::iterator::next().

template<typename T>
unsigned bucket2d< T >::iterator::cur_idx [protected]

Definition at line 81 of file bucket2d.h.

Referenced by bucket2d< T >::iterator::iterator(), and bucket2d< T >::iterator::next().

template<typename T>
unsigned bucket2d< T >::iterator::i [protected]

Definition at line 81 of file bucket2d.h.

Referenced by bucket2d< T >::iterator::iterator(), and bucket2d< T >::iterator::next().

template<typename T>
T* bucket2d< T >::iterator::it [protected]

template<typename T>
unsigned bucket2d< T >::iterator::j [protected]

template<typename T>
unsigned bucket2d< T >::iterator::ub [protected]

Definition at line 81 of file bucket2d.h.

Referenced by bucket2d< T >::iterator::iterator(), and bucket2d< T >::iterator::next().

template<typename T>
unsigned bucket2d< T >::iterator::ue [protected]

Definition at line 81 of file bucket2d.h.

Referenced by bucket2d< T >::iterator::iterator(), and bucket2d< T >::iterator::next().

template<typename T>
unsigned bucket2d< T >::iterator::vb [protected]

Definition at line 81 of file bucket2d.h.

Referenced by bucket2d< T >::iterator::iterator().

template<typename T>
unsigned bucket2d< T >::iterator::ve [protected]


The documentation for this class was generated from the following file:

Generated on Tue Mar 30 15:53:25 2010 for Polyora by  doxygen 1.5.9