#include <ArrayPtr.hpp>
◆ ~ArrayPtr()
template<typename T , typename K >
ArrayPtr destructor.
- Warning
- Valgrind complains about the parts commented out in this function It does not like the pointers themselves to be deleted!
◆ ArrayPtr()
template<typename T , typename K >
◆ Reset_Set_Pointer_Array_Values()
template<typename T , typename K >
void ArrayPtr< T, K >::Reset_Set_Pointer_Array_Values |
( |
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!
◆ Set_Pointer_Array_Values() [1/2]
template<typename T , typename K >
void ArrayPtr< T, K >::Set_Pointer_Array_Values |
( |
T * |
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
- Parameters
-
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 |
- Note
- this function is overloaded. See the other function.
◆ Set_Pointer_Array_Values() [2/2]
template<typename T , typename K >
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
- Parameters
-
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 |
- Note
- this function is overloaded. See the other function.
◆ DTGrid1D
template<typename T , typename K >
template<class M , class H >
◆ DTGrid2D
template<typename T , typename K >
template<class M , class H >
◆ DTGrid3D
template<typename T , typename K >
template<class M , class H >
◆ DTGrid3Dex
template<typename T , typename K >
◆ alloc_size1
template<typename T , typename K >
◆ alloc_size2
template<typename T , typename K >
◆ PtrArray
template<typename T , typename K >
◆ PtrArray_Copy
template<typename T , typename K >
◆ PtrArrayReg
template<typename T , typename K >
copy of the original pointer address.
◆ PtrArrayReg_Copy
template<typename T , typename K >
The documentation for this class was generated from the following file: