cloudy
trunk
|
#include <container_classes.h>
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) More... | |
size_type | st [d] |
size of each dimension (only used in C_TYPE layout) More... | |
size_type | nsl [d] |
stride for each dimension (only used in C_TYPE layout) More... | |
Private Member Functions | |
void | p_clear0 () |
sizes of each of the pointer arrays More... | |
void | p_clear1 () |
void | p_setupArray (size_type n1[], size_type n2[], const tree_vec *w, int l) |
multi_geom - this class maintains all the geometry information for multi_arr keeping it separate makes it easy to clone the information from one multi_arr to another
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.
|
inline |
Definition at line 307 of file container_classes.h.
|
inline |
Definition at line 311 of file container_classes.h.
|
inline |
Definition at line 315 of file container_classes.h.
Referenced by multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::operator=().
|
inline |
Definition at line 378 of file container_classes.h.
|
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().
|
inline |
Definition at line 320 of file container_classes.h.
|
inlineprivate |
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().
|
inlineprivate |
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().
|
inlineprivate |
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().
|
inline |
Definition at line 343 of file container_classes.h.
Referenced by multi_geom< d, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL >::reserve_recursive().
|
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().