#include <arrayOwn1.h>
Inheritance diagram for gutz::arrayOwn1< T >:
Public Member Functions | |
arrayOwn1 () | |
arrayOwn1 (int s, T v) | |
arrayOwn1 (int s, const T *v) | |
arrayOwn1 (const arrayWrap1< T > &a) | |
arrayOwn1 (const arrayOwn1< T > &a) | |
arrayOwn1< T > & | operator= (const arrayOwn1< T > &a) |
~arrayOwn1 () | |
void | transfer (int s, T *v, bool killWithDelete) |
T & | operator[] (int i) |
const T | operator[] (int i) const |
T & | operator() (int i) |
const T | operator() (int i) const |
T & | operator() (int i, int j=0, int k=0, int m=0, int n=0) |
const T & | operator() (int i, int j=0, int k=0, int m=0, int n=0) const |
int | dim () const |
int | dim (const int axis) const |
int | size () const |
int | empty () const |
T * | data () |
const T * | data () const |
bool | killWithDelete () const |
void | reshape (int d0, int d1=0, int d2=0, int d3=0, int d4=0) |
Protected Member Functions | |
void | set (int dim, int *aSize, T *a) |
# of axies, # of elements per axis, data pointer | |
const int | address (int i, int j, int k, int m, int n) const |
< address of array element | |
void | initValOwn (T val) |
void | initDataOwn (const T *data) |
void | copyDataOwn (const T *data) |
void | allocDataOwn () |
void | killData () |
Protected Attributes | |
T * | mData |
data pointer | |
int | mAxisDim [MAX_ARRAY_DIM_GUTZ] |
# of elements allong each axis | |
int | mAxisStride [MAX_ARRAY_DIM_GUTZ] |
# of elements to jump for the next entry | |
int | mSize |
total # of elements in array | |
int | mDim |
# of axes in array | |
bool | mKillWithDelete |
Kill data with delete or free? | |
Friends | |
class | arrayWrap2< T > |
|
Definition at line 74 of file arrayOwn1.h. |
|
Definition at line 79 of file arrayOwn1.h. |
|
Definition at line 86 of file arrayOwn1.h. |
|
Definition at line 93 of file arrayOwn1.h. References size. |
|
Definition at line 101 of file arrayOwn1.h. |
|
Definition at line 55 of file arrayOwn1.h. |
|
< address of array element
Definition at line 285 of file arrayBase.h. References n. Referenced by gutz::arrayWrap5< T >::operator()(), gutz::arrayWrap4< T >::operator()(), gutz::arrayWrap3< T >::operator()(), gutz::arrayWrap2< T >::operator()(), and gutz::arrayBase< T >::operator()(). |
|
Definition at line 391 of file arrayBase.h. References gutz::arrayBase< T >::mData, and gutz::arrayBase< T >::mSize. Referenced by gutz::arrayBase< T >::initDataOwn(). |
|
Definition at line 401 of file arrayBase.h. References data, gutz::arrayBase< T >::mData, and gutz::arrayBase< T >::mSize. Referenced by gutz::arrayBase< T >::initDataOwn(). |
|
Definition at line 94 of file arrayBase.h. |
|
Definition at line 93 of file arrayBase.h. Referenced by gutz::arrayOwn2< T >::arrayOwn2(), gutz::arrayOwn3< T >::arrayOwn3(), gutz::arrayOwn4< T >::arrayOwn4(), and gutz::arrayOwn5< T >::arrayOwn5(). |
|
Definition at line 84 of file arrayBase.h. |
|
Definition at line 82 of file arrayBase.h. Referenced by gutz::arrayOwn5< T >::operator=(), gutz::arrayOwn4< T >::operator=(), gutz::arrayOwn3< T >::operator=(), gutz::arrayOwn2< T >::operator=(), and gutz::arrayOwn1< T >::operator=(). |
|
Definition at line 90 of file arrayBase.h. |
|
Definition at line 372 of file arrayBase.h. References gutz::arrayBase< T >::allocDataOwn(), gutz::arrayBase< T >::copyDataOwn(), and data. |
|
Definition at line 358 of file arrayBase.h. References gutz::arrayBase< T >::mData, and gutz::arrayBase< T >::mSize. |
|
|
Definition at line 98 of file arrayBase.h. |
|
Reimplemented in gutz::arrayWrap5< T >. Definition at line 279 of file arrayBase.h. References gutz::arrayBase< T >::address(), gutz::arrayBase< T >::mData, and n. |
|
Reimplemented in gutz::arrayWrap5< T >. Definition at line 273 of file arrayBase.h. References gutz::arrayBase< T >::address(), gutz::arrayBase< T >::mData, and n. |
|
Definition at line 72 of file arrayWrap1.h. |
|
Definition at line 71 of file arrayWrap1.h. |
|
Definition at line 108 of file arrayOwn1.h. References gutz::arrayBase< T >::dim(), gutz::arrayBase< T >::killData(), gutz::arrayBase< T >::mData, gutz::arrayBase< T >::mSize, and gutz::arrayBase< T >::size(). |
|
Definition at line 70 of file arrayWrap1.h. |
|
Definition at line 69 of file arrayWrap1.h. |
|
Definition at line 331 of file arrayBase.h. References gutz::arrayBase< T >::mAxisDim, gutz::arrayBase< T >::mAxisStride, and gutz::arrayBase< T >::mDim. |
|
# of axies, # of elements per axis, data pointer
Definition at line 293 of file arrayBase.h. References MAX_ARRAY_DIM_GUTZ, gutz::arrayBase< T >::mAxisDim, gutz::arrayBase< T >::mAxisStride, gutz::arrayBase< T >::mData, gutz::arrayBase< T >::mDim, gutz::arrayBase< T >::mKillWithDelete, gutz::arrayBase< T >::mSize, s, size, and gutz::arrayBase< T >::size(). Referenced by gutz::arrayBase< T >::arrayBase(), gutz::arrayBase< T >::operator=(), gutz::arrayOwn5< T >::transfer(), gutz::arrayOwn4< T >::transfer(), gutz::arrayOwn3< T >::transfer(), gutz::arrayOwn2< T >::transfer(), and gutz::arrayOwn1< T >::transfer(). |
|
Definition at line 87 of file arrayBase.h. Referenced by gutz::arrayOwn5< T >::operator=(), gutz::arrayOwn4< T >::operator=(), gutz::arrayOwn3< T >::operator=(), gutz::arrayOwn2< T >::operator=(), gutz::arrayOwn1< T >::operator=(), and gutz::arrayBase< T >::set(). |
|
Definition at line 126 of file arrayOwn1.h. References gutz::arrayBase< T >::killData(), gutz::arrayBase< T >::mKillWithDelete, s, gutz::arrayBase< T >::set(), and v. |
|
Definition at line 56 of file arrayWrap1.h. |
|
# of elements allong each axis
Definition at line 107 of file arrayBase.h. Referenced by gutz::arrayBase< T >::arrayBase(), gutz::arrayBase< V_TYPE >::dim(), gutz::arrayBase< T >::operator=(), gutz::arrayBase< T >::reshape(), and gutz::arrayBase< T >::set(). |
|
# of elements to jump for the next entry
Definition at line 108 of file arrayBase.h. Referenced by gutz::arrayBase< T >::reshape(), and gutz::arrayBase< T >::set(). |
|
|
# of axes in array
Definition at line 110 of file arrayBase.h. Referenced by gutz::arrayBase< T >::arrayBase(), gutz::arrayBase< V_TYPE >::dim(), gutz::arrayBase< T >::operator=(), gutz::arrayBase< T >::reshape(), and gutz::arrayBase< T >::set(). |
|
Kill data with delete or free?
Definition at line 111 of file arrayBase.h. Referenced by gutz::arrayBase< T >::killData(), gutz::arrayBase< V_TYPE >::killWithDelete(), gutz::arrayBase< T >::set(), gutz::arrayOwn5< T >::transfer(), gutz::arrayOwn4< T >::transfer(), gutz::arrayOwn3< T >::transfer(), gutz::arrayOwn2< T >::transfer(), and gutz::arrayOwn1< T >::transfer(). |
|