this class is a functor for "for_each" algorithm More...
this class is a functor for "for_each" algorithm
This class is a functor for "for_each" algorithm. For each element of the boost::vector the operator() is called. Is mainly used to read each property
ele_g | element that store the grid and its attributes |
St | type of space where the grid live |
Definition at line 80 of file RawReader.hpp.
#include <RawReader.hpp>
Public Member Functions | |
raw_read (grid_cpu< dim, Tg > &gr, std::ifstream &fl) | |
constructor | |
template<typename T > | |
void | operator() (T &t) const |
It read for each property. | |
Data Fields | |
grid_cpu< dim, Tg > & | gr |
Grid out. | |
std::ifstream & | fl |
File stream. | |
|
inline |
constructor
gr | grid to fill |
fl | file from where to read |
Definition at line 94 of file RawReader.hpp.
|
inline |
It read for each property.
Definition at line 100 of file RawReader.hpp.
std::ifstream& raw_read< dim, Tg >::fl |
File stream.
Definition at line 86 of file RawReader.hpp.
Grid out.
Definition at line 83 of file RawReader.hpp.