Emulate grid_key_dx with runtime dimensionality.
More...
Emulate grid_key_dx with runtime dimensionality.
Emulate grid_key_dx with runtime dimensionality
Definition at line 958 of file grid_sm.hpp.
#include <grid_sm.hpp>
|
size_t | getDim () |
| Get the dimensionality of the key.
|
|
| grid_key_dx_r (grid_key_dx_r &key) |
| constructor from another key
|
|
| grid_key_dx_r (size_t dim) |
| constructor
|
|
template<typename a , typename ... T> |
void | set (a v, T...t) |
| set the grid key from a list of numbers
|
|
mem_id | get (size_t i) |
| get the i index
|
|
void | set_d (size_t i, mem_id id) |
| Set the i index.
|
|
|
mem_id * | k |
| structure that store all the index
|
|
◆ grid_key_dx_r() [1/2]
constructor from another key
- Parameters
-
Definition at line 980 of file grid_sm.hpp.
◆ grid_key_dx_r() [2/2]
grid_key_dx_r::grid_key_dx_r |
( |
size_t |
dim | ) |
|
|
inline |
constructor
constructor
- Parameters
-
Definition at line 1000 of file grid_sm.hpp.
◆ ~grid_key_dx_r()
grid_key_dx_r::~grid_key_dx_r |
( |
| ) |
|
|
inline |
◆ get()
mem_id grid_key_dx_r::get |
( |
size_t |
i | ) |
|
|
inline |
get the i index
Get the i index
- Parameters
-
- Returns
- the index value
Definition at line 1028 of file grid_sm.hpp.
◆ getDim()
size_t grid_key_dx_r::getDim |
( |
| ) |
|
|
inline |
Get the dimensionality of the key.
Get the dimensionality of the key
Definition at line 970 of file grid_sm.hpp.
◆ invert_assign() [1/3]
void grid_key_dx_r::invert_assign |
( |
| ) |
|
|
inlineprivate |
◆ invert_assign() [2/3]
template<typename a , typename ... T>
void grid_key_dx_r::invert_assign |
( |
a |
v | ) |
|
|
inlineprivate |
◆ invert_assign() [3/3]
template<typename a , typename ... T>
void grid_key_dx_r::invert_assign |
( |
a |
v, |
|
|
T... |
t |
|
) |
| |
|
inlineprivate |
Recursively invert the assignment.
Recursively invert the assignment at compile-time
Definition at line 1056 of file grid_sm.hpp.
◆ set()
template<typename a , typename ... T>
void grid_key_dx_r::set |
( |
a |
v, |
|
|
T... |
t |
|
) |
| |
|
inline |
set the grid key from a list of numbers
Definition at line 1013 of file grid_sm.hpp.
◆ set_d()
void grid_key_dx_r::set_d |
( |
size_t |
i, |
|
|
mem_id |
id |
|
) |
| |
|
inline |
Set the i index.
Set the i index
- Parameters
-
i | index to set |
id | value to set |
Definition at line 1041 of file grid_sm.hpp.
◆ dim
size_t grid_key_dx_r::dim |
|
private |
structure that store all the index
Definition at line 1047 of file grid_sm.hpp.
The documentation for this class was generated from the following file: