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 set an external memory for each
Definition at line 202 of file grid_base_impl_layout.hpp.
#include <grid_base_impl_layout.hpp>
Public Member Functions | |
mem_setarray (grid_type &g_new, Memory *mem, size_t sz, bool np) | |
constructor More... | |
template<typename T > | |
void | operator() (T &t) |
It call the copy function for each property. More... | |
Data Fields | |
grid_type & | grid_new |
Memory * | mem |
size_t | sz |
bool | np |
|
inline |
constructor
Definition at line 217 of file grid_base_impl_layout.hpp.
|
inline |
It call the copy function for each property.
Allocate the memory and create the reppresentation
Definition at line 223 of file grid_base_impl_layout.hpp.