#include <ArrayPtr.hpp>
Public Member Functions | |
void | Set_Pointer_Array_Values (typename ArrayPrs< K >::PairArray *, K *, int, int) |
Setup the array that stores the IndexPair values. | |
void | Set_Pointer_Array_Values (T *, K *, int, int) |
Setup the array that stores the IndexPair values. | |
void | Reset_Set_Pointer_Array_Values (void) |
Reset the address that the pointer stores. | |
Private Member Functions | |
~ArrayPtr () | |
ArrayPtr destructor. | |
ArrayPtr () | |
ArrayPtr constructor. | |
Private Attributes | |
int | alloc_size1 |
int | alloc_size2 |
ArrayPrs< K >::PairArray ** | PtrArray |
ArrayPrs< K >::PairArray ** | PtrArray_Copy |
T ** | PtrArrayReg |
copy of the original pointer address. | |
T ** | PtrArrayReg_Copy |
Friends | |
template<class M , class H > | |
class | DTGrid2D |
template<class M , class H > | |
class | DTGrid3D |
class | DTGrid3Dex |
template<class M , class H > | |
class | DTGrid1D |
ArrayPtr destructor.
ArrayPtr constructor.
input void
Reset the address that the pointer stores.
This function resets the pointer back to its original value! It does not reset the values that the pointer originally points to!
Setup the array that stores the IndexPair values.
This function initializes the array for the 'value' array of (N-1) dimensions of type=IndexPair
pair_array | pointer into the icoord array. |
PtArray | pointer into another array of type ArrayPtr. |
I | length of the pair_array |
J | length of the PtArray |
void ArrayPtr< T, K >::Set_Pointer_Array_Values | ( | typename ArrayPrs< K >::PairArray * | pair_array, |
K * | PtArray, | ||
int | I, | ||
int | J | ||
) |
Setup the array that stores the IndexPair values.
This function initializes the array for the 'value' array of (N-1) dimensions of type=IndexPair
pair_array | pointer into the icoord array. |
PtArray | pointer into another array of type ArrayPtr. |
I | length of the pair_array |
J | length of the PtArray |
copy of the original pointer address.