this class is a functor for "for_each" algorithm More...
#include <grid_base_impl_layout.hpp>
Public Member Functions | |
| mem_setarray (grid_type &g_new, Memory *mem, size_t sz, bool np) | |
| constructor | |
| 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 |
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.
|
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.