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 >::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

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Friends And Related Function Documentation

friend class HashGrid
friend

Member Data Documentation

cell_iterator cell_it_
private
const Grid& grid_
private
grid_iterator grid_it_
private

OpenMS / TOPP release 2.0.0 Documentation generated on Tue Aug 25 2015 05:54:01 using doxygen 1.8.9.1