|
cloudy trunk
|
#include <container_classes.h>

Public Types | |
| typedef size_t | size_type |
Public Member Functions | |
| multi_geom () | |
| multi_geom (const multi_geom &m) | |
| ~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 294 of file container_classes.h.
| typedef size_t multi_geom< d, ALLOC >::size_type |
Definition at line 297 of file container_classes.h.
|
inline |
Definition at line 323 of file container_classes.h.
References multi_geom< d, ALLOC >::p_clear1().

|
inline |
Definition at line 327 of file container_classes.h.
References multi_geom< d, ALLOC >::p_clear1().

|
inline |
Definition at line 332 of file container_classes.h.
References multi_geom< d, ALLOC >::p_clear0().

|
inline |
Definition at line 336 of file container_classes.h.
References multi_geom< d, ALLOC >::p_clear0(), and multi_geom< d, ALLOC >::p_clear1().
Referenced by multi_geom< d, ALLOC >::operator=().

|
inline |
Definition at line 399 of file container_classes.h.
References ARPA_TYPE, ASSERT, C_TYPE, multi_geom< d, ALLOC >::nsl, multi_geom< d, ALLOC >::p_setupArray(), multi_geom< d, ALLOC >::s, multi_geom< d, ALLOC >::size, multi_geom< d, ALLOC >::st, STATIC_ASSERT, TotalInsanity(), and multi_geom< d, ALLOC >::v.

|
inline |
Definition at line 357 of file container_classes.h.
References tree_vec::getvec(), multi_geom< d, ALLOC >::lgInbounds(), tree_vec::n, and multi_geom< d, ALLOC >::v.
Referenced by multi_geom< d, ALLOC >::lgInbounds(), and multi_geom< d, ALLOC >::reserve().

|
inline |
Definition at line 341 of file container_classes.h.
References multi_geom< d, ALLOC >::clear(), multi_geom< d, ALLOC >::nsl, multi_geom< d, ALLOC >::s, multi_geom< d, ALLOC >::size, multi_geom< d, ALLOC >::st, and multi_geom< d, ALLOC >::v.

|
inlineprivate |
sizes of each of the pointer arrays
Definition at line 307 of file container_classes.h.
References tree_vec::clear(), and multi_geom< d, ALLOC >::v.
Referenced by multi_geom< d, ALLOC >::clear(), and multi_geom< d, ALLOC >::~multi_geom().

|
inlineprivate |
Definition at line 311 of file container_classes.h.
References multi_geom< d, ALLOC >::nsl, multi_geom< d, ALLOC >::s, multi_geom< d, ALLOC >::size, and multi_geom< d, ALLOC >::st.
Referenced by multi_geom< d, ALLOC >::clear(), and multi_geom< d, ALLOC >::multi_geom().
|
inlineprivate |
Definition at line 433 of file container_classes.h.
References tree_vec::d, tree_vec::n, and multi_geom< d, ALLOC >::p_setupArray().
Referenced by multi_geom< d, ALLOC >::finalize(), and multi_geom< d, ALLOC >::p_setupArray().

|
inline |
Definition at line 364 of file container_classes.h.
References ASSERT, tree_vec::d, tree_vec::getvec(), multi_geom< d, ALLOC >::lgInbounds(), max(), tree_vec::n, multi_geom< d, ALLOC >::nsl, multi_geom< d, ALLOC >::s, and multi_geom< d, ALLOC >::v.
Referenced by multi_geom< d, ALLOC >::reserve_recursive().

|
inline |
Definition at line 378 of file container_classes.h.
References multi_geom< d, ALLOC >::reserve(), and multi_geom< d, ALLOC >::reserve_recursive().
Referenced by multi_geom< d, ALLOC >::reserve_recursive().

| size_type multi_geom< d, ALLOC >::nsl[d] |
stride for each dimension (only used in C_TYPE layout)
Definition at line 304 of file container_classes.h.
Referenced by multi_geom< d, ALLOC >::finalize(), multi_geom< d, ALLOC >::operator=(), multi_geom< d, ALLOC >::p_clear1(), and multi_geom< d, ALLOC >::reserve().
| size_type multi_geom< d, ALLOC >::s[d] |
allocated size (number of data elements, pointers are not counted)
Definition at line 302 of file container_classes.h.
Referenced by multi_geom< d, ALLOC >::finalize(), multi_geom< d, ALLOC >::operator=(), multi_geom< d, ALLOC >::p_clear1(), and multi_geom< d, ALLOC >::reserve().
| size_type multi_geom< d, ALLOC >::size |
Definition at line 301 of file container_classes.h.
Referenced by multi_geom< d, ALLOC >::finalize(), multi_geom< d, ALLOC >::operator=(), and multi_geom< d, ALLOC >::p_clear1().
| size_type multi_geom< d, ALLOC >::st[d] |
size of each dimension (only used in C_TYPE layout)
Definition at line 303 of file container_classes.h.
Referenced by multi_geom< d, ALLOC >::finalize(), multi_geom< d, ALLOC >::operator=(), and multi_geom< d, ALLOC >::p_clear1().
| tree_vec multi_geom< d, ALLOC >::v |
Definition at line 299 of file container_classes.h.
Referenced by multi_geom< d, ALLOC >::finalize(), multi_geom< d, ALLOC >::lgInbounds(), multi_geom< d, ALLOC >::operator=(), multi_geom< d, ALLOC >::p_clear0(), and multi_geom< d, ALLOC >::reserve().