Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
HashGrid< Cluster >::Iterator Class Reference

Element iterator for the hash grid. More...

Inheritance diagram for HashGrid< Cluster >::Iterator:

Public Member Functions

 Iterator (Grid &grid)
 
 Iterator (Grid &grid, grid_iterator grid_it, cell_iterator cell_it)
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
bool operator== (const Iterator &rhs) const
 
bool operator!= (const Iterator &rhs) const
 
value_typeoperator* () const
 
value_typeoperator-> () const
 
const CellIndex index () const
 

Private Types

typedef Grid::iterator grid_iterator
 
typedef CellContent::iterator cell_iterator
 

Private Member Functions

void searchNextCell_ ()
 

Private Attributes

Gridgrid_
 
grid_iterator grid_it_
 
cell_iterator cell_it_
 

Friends

class HashGrid
 

Detailed Description

template<typename Cluster>
class OpenMS::HashGrid< Cluster >::Iterator

Element iterator for the hash grid.

Member Typedef Documentation

typedef CellContent::iterator cell_iterator
private
typedef Grid::iterator grid_iterator
private

Constructor & Destructor Documentation

Iterator ( Grid grid)
inline
Iterator ( Grid grid,
grid_iterator  grid_it,
cell_iterator  cell_it 
)
inline

Member Function Documentation

const CellIndex index ( ) const
inline
bool operator!= ( const Iterator rhs) const
inline
value_type& operator* ( ) const
inline
Iterator& operator++ ( )
inline
Iterator operator++ ( int  )
inline
value_type* operator-> ( ) const
inline
bool operator== ( const Iterator rhs) const
inline
void searchNextCell_ ( )
inlineprivate

Friends And Related Function Documentation

friend class HashGrid
friend

Member Data Documentation

cell_iterator cell_it_
private
Grid& grid_
private
grid_iterator grid_it_
private

OpenMS / TOPP release 1.11.1 Documentation generated on Thu Nov 14 2013 11:19:28 using doxygen 1.8.5