OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
CellIteratorM< Cell, sh_byte > Class Template Reference

it iterate through the elements of a cell More...

Detailed Description

template<typename Cell, unsigned int sh_byte>
class CellIteratorM< Cell, sh_byte >

it iterate through the elements of a cell

In general you do not create this object you get it from the CellList structures

Template Parameters
Cellcell type

Definition at line 197 of file CellNNIteratorM.hpp.

#include <CellNNIteratorM.hpp>

+ Inheritance diagram for CellIteratorM< Cell, sh_byte >:

Public Member Functions

 CellIteratorM (const size_t cell, Cell &cl)
 Cell iterator. More...
 
size_t getP ()
 Get the value of the cell. More...
 
size_t getV ()
 Get the value of the cell. More...
 
- Public Member Functions inherited from CellIterator< Cell >
 CellIterator (const size_t cell, Cell &cl)
 Cell iterator. More...
 
bool isNext ()
 Check if there is the next element. More...
 
CellIteratoroperator++ ()
 take the next neoghborhood particle More...
 
Cell::value_type & get ()
 Get the value of the cell. More...
 
const Cell::value_type & get () const
 Get the value of the cell. More...
 

Private Types

typedef boost::low_bits_mask_t
< sizeof(size_t)*8-sh_byte > 
mask_low
 

Constructor & Destructor Documentation

template<typename Cell , unsigned int sh_byte>
CellIteratorM< Cell, sh_byte >::CellIteratorM ( const size_t  cell,
Cell &  cl 
)
inline

Cell iterator.

Parameters
cellCell id
clCell on which iterate

Definition at line 210 of file CellNNIteratorM.hpp.

Member Function Documentation

template<typename Cell , unsigned int sh_byte>
size_t CellIteratorM< Cell, sh_byte >::getP ( )
inline

Get the value of the cell.

Returns
the next element object

Definition at line 219 of file CellNNIteratorM.hpp.

template<typename Cell , unsigned int sh_byte>
size_t CellIteratorM< Cell, sh_byte >::getV ( )
inline

Get the value of the cell.

Returns
the next element object

Definition at line 229 of file CellNNIteratorM.hpp.


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