#include <container_classes.h>
Collaboration diagram for multi_geom< d, ALLOC, lgBC >:
Public Types | |
typedef size_t | size_type |
Public Member Functions | |
multi_geom () | |
~multi_geom () | |
void | clear () |
const multi_geom & | operator= (const multi_geom &m) |
bool | lgInbounds (const size_type n, const size_type index[]) const |
void | reserve (const size_type n, const size_type index[]) |
void | reserve_recursive (const size_type n, size_type index[]) |
void | finalize (void) |
Data Fields | |
tree_vec | v |
size_type | size |
size_type | s [d] |
allocated size (number of data elements, pointers are not counted) | |
size_type | st [d] |
size of each dimension (only used in C_TYPE layout) | |
size_type | nsl [d] |
stride for each dimension (only used in C_TYPE layout) | |
Private Member Functions | |
void | p_clear0 () |
sizes of each of the pointer arrays | |
void | p_clear1 () |
void | p_setupArray (size_type n1[], size_type n2[], const tree_vec *w, int l) |
Definition at line 278 of file container_classes.h.
typedef size_t multi_geom< d, ALLOC, lgBC >::size_type |
Definition at line 281 of file container_classes.h.
multi_geom< d, ALLOC, lgBC >::multi_geom | ( | ) | [inline] |
Definition at line 307 of file container_classes.h.
multi_geom< d, ALLOC, lgBC >::~multi_geom | ( | ) | [inline] |
Definition at line 311 of file container_classes.h.
void multi_geom< d, ALLOC, lgBC >::clear | ( | ) | [inline] |
Definition at line 315 of file container_classes.h.
Referenced by multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::operator=().
void multi_geom< d, ALLOC, lgBC >::finalize | ( | void | ) | [inline] |
Definition at line 378 of file container_classes.h.
bool multi_geom< d, ALLOC, lgBC >::lgInbounds | ( | const size_type | n, | |
const size_type | index[] | |||
) | const [inline] |
Definition at line 336 of file container_classes.h.
Referenced by multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::lgInbounds(), and multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::reserve().
const multi_geom& multi_geom< d, ALLOC, lgBC >::operator= | ( | const multi_geom< d, ALLOC, lgBC > & | m | ) | [inline] |
Definition at line 320 of file container_classes.h.
void multi_geom< d, ALLOC, lgBC >::p_clear0 | ( | ) | [inline, private] |
sizes of each of the pointer arrays
Definition at line 291 of file container_classes.h.
Referenced by multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::clear(), and multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::~multi_geom().
void multi_geom< d, ALLOC, lgBC >::p_clear1 | ( | ) | [inline, private] |
Definition at line 295 of file container_classes.h.
Referenced by multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::clear(), and multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::multi_geom().
void multi_geom< d, ALLOC, lgBC >::p_setupArray | ( | size_type | n1[], | |
size_type | n2[], | |||
const tree_vec * | w, | |||
int | l | |||
) | [inline, private] |
Definition at line 409 of file container_classes.h.
Referenced by multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::finalize(), and multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::p_setupArray().
void multi_geom< d, ALLOC, lgBC >::reserve | ( | const size_type | n, | |
const size_type | index[] | |||
) | [inline] |
Definition at line 343 of file container_classes.h.
Referenced by multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::reserve_recursive().
void multi_geom< d, ALLOC, lgBC >::reserve_recursive | ( | const size_type | n, | |
size_type | index[] | |||
) | [inline] |
Definition at line 357 of file container_classes.h.
Referenced by multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::reserve_recursive().
size_type multi_geom< d, ALLOC, lgBC >::nsl[d] |
stride for each dimension (only used in C_TYPE layout)
Definition at line 288 of file container_classes.h.
Referenced by multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::finalize(), multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::operator=(), multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::p_clear1(), and multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::reserve().
size_type multi_geom< d, ALLOC, lgBC >::s[d] |
allocated size (number of data elements, pointers are not counted)
Definition at line 286 of file container_classes.h.
Referenced by multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::finalize(), multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::operator=(), multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::p_clear1(), and multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::reserve().
size_type multi_geom< d, ALLOC, lgBC >::size |
Definition at line 285 of file container_classes.h.
Referenced by multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::finalize(), multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::operator=(), and multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::p_clear1().
size_type multi_geom< d, ALLOC, lgBC >::st[d] |
size of each dimension (only used in C_TYPE layout)
Definition at line 287 of file container_classes.h.
Referenced by multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::finalize(), multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::operator=(), and multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::p_clear1().
tree_vec multi_geom< d, ALLOC, lgBC >::v |
Definition at line 283 of file container_classes.h.
Referenced by multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::finalize(), multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::lgInbounds(), multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::operator=(), multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::p_clear0(), and multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::reserve().