OpenMS  2.4.0
Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
HashGrid< Cluster >::ConstIterator Class Reference

Constant element iterator for the hash grid. More...

Inheritance diagram for HashGrid< Cluster >::ConstIterator:

Public Member Functions

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

Private Types

typedef Grid::const_iterator grid_iterator
 
typedef CellContent::const_iterator cell_iterator
 

Private Member Functions

void searchNextCell_ ()
 

Private Attributes

const Gridgrid_
 
grid_iterator grid_it_
 
cell_iterator cell_it_
 

Friends

class HashGrid
 

Detailed Description

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

Constant element iterator for the hash grid.

Member Typedef Documentation

◆ cell_iterator

typedef CellContent::const_iterator cell_iterator
private

◆ grid_iterator

typedef Grid::const_iterator grid_iterator
private

Constructor & Destructor Documentation

◆ ConstIterator() [1/3]

ConstIterator ( const Grid grid)
inline

◆ ConstIterator() [2/3]

ConstIterator ( const Grid grid,
grid_iterator  grid_it,
cell_iterator  cell_it 
)
inline

◆ ConstIterator() [3/3]

ConstIterator ( const Iterator it)
inline

Member Function Documentation

◆ index()

const CellIndex index ( ) const
inline

◆ operator!=()

bool operator!= ( const ConstIterator rhs) const
inline

◆ operator*()

const value_type& operator* ( ) const
inline

◆ operator++() [1/2]

ConstIterator& operator++ ( )
inline

◆ operator++() [2/2]

ConstIterator operator++ ( int  )
inline

◆ operator->()

const value_type* operator-> ( ) const
inline

◆ operator==()

bool operator== ( const ConstIterator 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_

const Grid& grid_
private

◆ grid_it_

grid_iterator grid_it_
private