19 template<
typename T,
typename K>
27 template <
class M,
class H>
29 template <
class M,
class H>
32 template <
class M,
class H>
56 template<
typename T,
typename K>
67 template<
typename T,
typename K>
75 if (alloc_size1 != 0){
88 if (alloc_size2 != 0){
107 template<
typename T,
typename K>
114 for (;count>=0;count--) {
117 PtrArray[count] = &(pair_array[PtArray[count]]);
119 PtrArray_Copy = PtrArray;
132 template<
typename T,
typename K>
136 PtrArrayReg =
new (nothrow) T* [J];
139 for (;count>=0;count--) {
142 PtrArrayReg[count] = &(pair_array[PtArray[count]]);
144 PtrArrayReg_Copy = PtrArrayReg;
153 template<
typename T,
typename K>
155 PtrArray_Copy = PtrArray;
156 PtrArrayReg_Copy = PtrArrayReg;
Define the array for storing pairs of indices.
Definition: ArrayPrs.hpp:42
Definition: ArrayPtr.hpp:20
int alloc_size2
Definition: ArrayPtr.hpp:43
ArrayPrs< K >::PairArray ** PtrArray
Definition: ArrayPtr.hpp:45
T ** PtrArrayReg
copy of the original pointer address.
Definition: ArrayPtr.hpp:48
void Set_Pointer_Array_Values(typename ArrayPrs< K >::PairArray *, K *, int, int)
Setup the array that stores the IndexPair values.
Definition: ArrayPtr.hpp:108
T ** PtrArrayReg_Copy
Definition: ArrayPtr.hpp:49
ArrayPrs< K >::PairArray ** PtrArray_Copy
Definition: ArrayPtr.hpp:46
~ArrayPtr()
ArrayPtr destructor.
Definition: ArrayPtr.hpp:68
void Set_Pointer_Array_Values(T *, K *, int, int)
Setup the array that stores the IndexPair values.
Definition: ArrayPtr.hpp:133
ArrayPtr()
ArrayPtr constructor.
Definition: ArrayPtr.hpp:57
int alloc_size1
Definition: ArrayPtr.hpp:42
void Reset_Set_Pointer_Array_Values(void)
Reset the address that the pointer stores.
Definition: ArrayPtr.hpp:154
Definition: DTGrid1D.hpp:13
Definition: DTGrid2D.hpp:17
Definition: DTGrid3D.hpp:65
Definition: DTGrid3Dex.hpp:73