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

◆ cell_iterator

typedef CellContent::iterator cell_iterator
private

◆ grid_iterator

typedef Grid::iterator grid_iterator
private

Constructor & Destructor Documentation

◆ Iterator() [1/2]

Iterator ( Grid grid)
inline

◆ Iterator() [2/2]

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

Member Function Documentation

◆ index()

const CellIndex index ( ) const
inline

◆ operator!=()

bool operator!= ( const Iterator rhs) const
inline

◆ operator*()

value_type& operator* ( ) const
inline

◆ operator++() [1/2]

Iterator& operator++ ( )
inline

◆ operator++() [2/2]

Iterator operator++ ( int  )
inline

◆ operator->()

value_type* operator-> ( ) const
inline

◆ operator==()

bool operator== ( const Iterator rhs) const
inline

◆ searchNextCell_()

void searchNextCell_ ( )
inlineprivate

Friends And Related Function Documentation

◆ HashGrid

friend class HashGrid
friend

Member Data Documentation

◆ cell_it_

cell_iterator cell_it_
private

◆ grid_

Grid& grid_
private

◆ grid_it_

grid_iterator grid_it_
private

OpenMS / TOPP release 2.3.0 Documentation generated on Tue Jan 9 2018 18:22:09 using doxygen 1.8.13