This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
class | basic_pntr< T, d, ALLOC, lgBC > |
class | pntr< T, d, ALLOC, lgBC > |
pntr - interface class to replace normal pointers More... | |
class | const_pntr< T, d, ALLOC, lgBC > |
const_pntr - same as pntr, except that it replaces const pointers rather than normal pointers More... | |
struct | tree_vec |
tree_vec - a simple class to store the bounds checking information for multi_arr More... | |
class | multi_geom< d, ALLOC, lgBC > |
class | n_pointer< T, N, ARPA_TYPE, false > |
class | n_pointer< T, N, C_TYPE, false > |
class | n_pointer< T, 1, ARPA_TYPE, false > |
class | n_pointer< T, 1, C_TYPE, false > |
class | n_pointer< T, N, ARPA_TYPE, true > |
class | n_pointer< T, N, C_TYPE, true > |
class | n_pointer< T, 1, ARPA_TYPE, true > |
class | n_pointer< T, 1, C_TYPE, true > |
class | const_n_pointer< T, N, ARPA_TYPE, false > |
class | const_n_pointer< T, N, C_TYPE, false > |
class | const_n_pointer< T, 1, ARPA_TYPE, false > |
class | const_n_pointer< T, 1, C_TYPE, false > |
class | const_n_pointer< T, N, ARPA_TYPE, true > |
class | const_n_pointer< T, N, C_TYPE, true > |
class | const_n_pointer< T, 1, ARPA_TYPE, true > |
class | const_n_pointer< T, 1, C_TYPE, true > |
class | multi_arr< T, d, ALLOC, lgBC > |
class | flex_arr< T, lgBC > |
Defines | |
#define | MEM_LAYOUT_VAL ARPA_TYPE |
#define | lgBOUNDSCHECKVAL false |
#define | INST_EXTERN |
#define | INSTANTIATE_MULTI_ARR(TYPE, LAYOUT, BC) |
Typedefs | |
typedef multi_arr< bool, 2 >::iterator | mb2i |
typedef multi_arr< bool, 2 >::const_iterator | mb2ci |
typedef multi_arr< bool, 3 >::iterator | mb3i |
typedef multi_arr< bool, 3 >::const_iterator | mb3ci |
typedef multi_arr< bool, 4 >::iterator | mb4i |
typedef multi_arr< bool, 4 >::const_iterator | mb4ci |
typedef multi_arr< bool, 5 >::iterator | mb5i |
typedef multi_arr< bool, 5 >::const_iterator | mb5ci |
typedef multi_arr< bool, 6 >::iterator | mb6i |
typedef multi_arr< bool, 6 >::const_iterator | mb6ci |
typedef multi_arr< long, 2 >::iterator | ml2i |
typedef multi_arr< long, 2 >::const_iterator | ml2ci |
typedef multi_arr< long, 3 >::iterator | ml3i |
typedef multi_arr< long, 3 >::const_iterator | ml3ci |
typedef multi_arr< long, 4 >::iterator | ml4i |
typedef multi_arr< long, 4 >::const_iterator | ml4ci |
typedef multi_arr< long, 5 >::iterator | ml5i |
typedef multi_arr< long, 5 >::const_iterator | ml5ci |
typedef multi_arr< long, 6 >::iterator | ml6i |
typedef multi_arr< long, 6 >::const_iterator | ml6ci |
typedef multi_arr< realnum, 2 >::iterator | mr2i |
typedef multi_arr< realnum, 2 >::const_iterator | mr2ci |
typedef multi_arr< realnum, 3 >::iterator | mr3i |
typedef multi_arr< realnum, 3 >::const_iterator | mr3ci |
typedef multi_arr< realnum, 4 >::iterator | mr4i |
typedef multi_arr< realnum, 4 >::const_iterator | mr4ci |
typedef multi_arr< realnum, 5 >::iterator | mr5i |
typedef multi_arr< realnum, 5 >::const_iterator | mr5ci |
typedef multi_arr< realnum, 6 >::iterator | mr6i |
typedef multi_arr< realnum, 6 >::const_iterator | mr6ci |
typedef multi_arr< double, 2 >::iterator | md2i |
typedef multi_arr< double, 2 >::const_iterator | md2ci |
typedef multi_arr< double, 3 >::iterator | md3i |
typedef multi_arr< double, 3 >::const_iterator | md3ci |
typedef multi_arr< double, 4 >::iterator | md4i |
typedef multi_arr< double, 4 >::const_iterator | md4ci |
typedef multi_arr< double, 5 >::iterator | md5i |
typedef multi_arr< double, 5 >::const_iterator | md5ci |
typedef multi_arr< double, 6 >::iterator | md6i |
typedef multi_arr< double, 6 >::const_iterator | md6ci |
typedef flex_arr< bool >::iterator | fabi |
typedef flex_arr< bool >::const_iterator | fabci |
typedef flex_arr< long >::iterator | fali |
typedef flex_arr< long >::const_iterator | falci |
typedef flex_arr< realnum >::iterator | fari |
typedef flex_arr< realnum >::const_iterator | farci |
typedef flex_arr< double >::iterator | fadi |
typedef flex_arr< double >::const_iterator | fadci |
Enumerations | |
enum | mem_layout { ARPA_TYPE, C_TYPE, FLX_TYPE, ML_TOP } |
Functions | |
void | do_dump_state (const void *buf, size_t nelem, size_t size, FILE *out, int32 magic) |
void | do_restore_state (void *buf, size_t nelem, size_t size, FILE *in, int32 magic) |
template<class T, int d, mem_layout ALLOC, bool lgBC> | |
const pntr< T, d, ALLOC, lgBC > | operator+ (const ptrdiff_t n, const pntr< T, d, ALLOC, lgBC > &t) |
template<class T, int d, mem_layout ALLOC, bool lgBC> | |
const const_pntr< T, d, ALLOC, lgBC > | operator+ (const ptrdiff_t n, const const_pntr< T, d, ALLOC, lgBC > &t) |
INSTANTIATE_MULTI_ARR (bool, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL) | |
INSTANTIATE_MULTI_ARR (long, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL) | |
INSTANTIATE_MULTI_ARR (realnum, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL) | |
INSTANTIATE_MULTI_ARR (double, MEM_LAYOUT_VAL, lgBOUNDSCHECKVAL) | |
INSTANTIATE_MULTI_ARR (double, C_TYPE, lgBOUNDSCHECKVAL) | |
Variables | |
static const int32 | MA_VERS [ML_TOP] = { 120070905, 220070803, 320071126 } |
#define INST_EXTERN |
Definition at line 1712 of file container_classes.h.
#define INSTANTIATE_MULTI_ARR | ( | TYPE, | |||
LAYOUT, | |||||
BC | ) |
Value:
INST_EXTERN template class pntr<TYPE,2,LAYOUT,BC>; \ INST_EXTERN template class pntr<TYPE,3,LAYOUT,BC>; \ INST_EXTERN template class pntr<TYPE,4,LAYOUT,BC>; \ INST_EXTERN template class pntr<TYPE,5,LAYOUT,BC>; \ INST_EXTERN template class pntr<TYPE,6,LAYOUT,BC>; \ INST_EXTERN template class const_pntr<TYPE,2,LAYOUT,BC>; \ INST_EXTERN template class const_pntr<TYPE,3,LAYOUT,BC>; \ INST_EXTERN template class const_pntr<TYPE,4,LAYOUT,BC>; \ INST_EXTERN template class const_pntr<TYPE,5,LAYOUT,BC>; \ INST_EXTERN template class const_pntr<TYPE,6,LAYOUT,BC>
Definition at line 1721 of file container_classes.h.
#define lgBOUNDSCHECKVAL false |
Definition at line 29 of file container_classes.h.
#define MEM_LAYOUT_VAL ARPA_TYPE |
Definition at line 23 of file container_classes.h.
Definition at line 2044 of file container_classes.h.
Definition at line 2043 of file container_classes.h.
Definition at line 2050 of file container_classes.h.
Definition at line 2049 of file container_classes.h.
Definition at line 2046 of file container_classes.h.
Definition at line 2045 of file container_classes.h.
Definition at line 2048 of file container_classes.h.
Definition at line 2047 of file container_classes.h.
Definition at line 1666 of file container_classes.h.
Definition at line 1665 of file container_classes.h.
Definition at line 1668 of file container_classes.h.
Definition at line 1667 of file container_classes.h.
Definition at line 1670 of file container_classes.h.
Definition at line 1669 of file container_classes.h.
Definition at line 1672 of file container_classes.h.
Definition at line 1671 of file container_classes.h.
Definition at line 1674 of file container_classes.h.
Definition at line 1673 of file container_classes.h.
Definition at line 1699 of file container_classes.h.
Definition at line 1698 of file container_classes.h.
Definition at line 1701 of file container_classes.h.
Definition at line 1700 of file container_classes.h.
Definition at line 1703 of file container_classes.h.
Definition at line 1702 of file container_classes.h.
Definition at line 1705 of file container_classes.h.
Definition at line 1704 of file container_classes.h.
Definition at line 1707 of file container_classes.h.
Definition at line 1706 of file container_classes.h.
Definition at line 1677 of file container_classes.h.
Definition at line 1676 of file container_classes.h.
Definition at line 1679 of file container_classes.h.
Definition at line 1678 of file container_classes.h.
Definition at line 1681 of file container_classes.h.
Definition at line 1680 of file container_classes.h.
Definition at line 1683 of file container_classes.h.
Definition at line 1682 of file container_classes.h.
Definition at line 1685 of file container_classes.h.
Definition at line 1684 of file container_classes.h.
Definition at line 1688 of file container_classes.h.
Definition at line 1687 of file container_classes.h.
Definition at line 1690 of file container_classes.h.
Definition at line 1689 of file container_classes.h.
Definition at line 1692 of file container_classes.h.
Definition at line 1691 of file container_classes.h.
Definition at line 1694 of file container_classes.h.
Definition at line 1693 of file container_classes.h.
Definition at line 1696 of file container_classes.h.
Definition at line 1695 of file container_classes.h.
enum mem_layout |
define the supported memory layouts of multi_arr / flex_arr
ARPA_TYPE: arrays of pointers to arrays to ... C_TYPE: row-major order, exactly as used in C (last index runs fastest) FLX_TYPE: the one and only layout used by flex_arr
Definition at line 15 of file container_classes.h.
void do_dump_state | ( | const void * | buf, | |
size_t | nelem, | |||
size_t | size, | |||
FILE * | out, | |||
int32 | magic | |||
) |
dump the array to a file in binary format; the file must already have been opened prior to calling this method
Definition at line 8 of file container_classes.cpp.
References cdEXIT, DEBUG_ENTRY, and ioQQQ.
Referenced by multi_arr< float, 3 >::dump_state(), and flex_arr< float >::dump_state().
void do_restore_state | ( | void * | buf, | |
size_t | nelem, | |||
size_t | size, | |||
FILE * | in, | |||
int32 | magic | |||
) |
restore the array from a file in binary format; the file must already have been opened prior to calling this method and the array must already have been allocated in exactly the same way as when it was dumped; some checks are performed, but not every error is excluded
Definition at line 28 of file container_classes.cpp.
References cdEXIT, DEBUG_ENTRY, and ioQQQ.
Referenced by multi_arr< float, 3 >::restore_state(), and flex_arr< float >::restore_state().
INSTANTIATE_MULTI_ARR | ( | double | , | |
C_TYPE | , | |||
lgBOUNDSCHECKVAL | ||||
) |
INSTANTIATE_MULTI_ARR | ( | double | , | |
MEM_LAYOUT_VAL | , | |||
lgBOUNDSCHECKVAL | ||||
) |
INSTANTIATE_MULTI_ARR | ( | realnum | , | |
MEM_LAYOUT_VAL | , | |||
lgBOUNDSCHECKVAL | ||||
) |
INSTANTIATE_MULTI_ARR | ( | long | , | |
MEM_LAYOUT_VAL | , | |||
lgBOUNDSCHECKVAL | ||||
) |
INSTANTIATE_MULTI_ARR | ( | bool | , | |
MEM_LAYOUT_VAL | , | |||
lgBOUNDSCHECKVAL | ||||
) |
const const_pntr<T,d,ALLOC,lgBC> operator+ | ( | const ptrdiff_t | n, | |
const const_pntr< T, d, ALLOC, lgBC > & | t | |||
) | [inline] |
Definition at line 197 of file container_classes.h.
const pntr<T,d,ALLOC,lgBC> operator+ | ( | const ptrdiff_t | n, | |
const pntr< T, d, ALLOC, lgBC > & | t | |||
) | [inline] |
Definition at line 150 of file container_classes.h.
const int32 MA_VERS[ML_TOP] = { 120070905, 220070803, 320071126 } [static] |
Definition at line 18 of file container_classes.h.
Referenced by flex_arr< float >::dump_state(), multi_arr< float, 3 >::dump_state(), flex_arr< float >::restore_state(), and multi_arr< float, 3 >::restore_state().