template<unsigned int dim, typename T, typename Mem>
class encapc< dim, T, Mem >
this structure encapsulate an object of the grid
This structure encapsulate an object of the grid It give the possibility to select the property in a secondary moment
- Parameters
-
| dim | Dimensionality of the grid |
| T | type of object the grid store |
| Mem | suppose to be a boost::fusion::vector of arrays |
Definition at line 209 of file Encap.hpp.
|
|
| encapc (type &data_c) |
| |
| type * | operator& () |
| | Return the address of the base. More...
|
| |
| template<unsigned int p> |
| type_cpu_prop< p, Mem >::type | get () |
| | access the data More...
|
| |
| template<unsigned int p> |
| const type_cpu_prop< p, Mem >::type | get () const |
| | access the data but return a constant reference More...
|
| |
|
template<unsigned int p> |
| void | set (typename type_cpu_prop< p, Mem >::type &ele) |
| |
| encapc< dim, T, Mem > & | operator= (const encapc< dim, T, Mem > &ec) |
| | Assignment. More...
|
| |
| encapc< dim, T, Mem > & | operator= (const T &obj) |
| | Assignment. More...
|
| |
| bool | operator== (const encapc< dim, T, Mem > &ec) const |
| | Compare. More...
|
| |
| bool | operator!= (const encapc< dim, T, Mem > &ec) const |
| | Compare. More...
|
| |