FairRoot/PandaRoot
|
#include <PndCAArray.h>
Public Types | |
typedef ReturnTypeHelper< T >::Type | R |
Public Member Functions | |
ArrayBase () | |
ArrayBase (const ArrayBase &rhs) | |
ArrayBase & | operator= (const ArrayBase &rhs) |
R & | operator() (int x, int y, int z) |
const R & | operator() (int x, int y, int z) const |
PndCAArray< T, 2 > | operator[] (int x) |
const PndCAArray< T, 2 > | operator[] (int x) const |
Protected Member Functions | |
void | SetSize (int x, int y, int z) |
bool | IsInBounds (int) const |
void | SetBounds (int, int) |
void | MoveBounds (int) |
void | ReinterpretCast (const ArrayBoundsCheck &, int, int) |
Protected Attributes | |
T * | fData |
int | fSize |
int | fStrideX |
int | fStrideY |
3-dim arrays should use operator(int, int, int) operator[] can be used to return a 2-dim array
Definition at line 296 of file PndCAArray.h.
typedef ReturnTypeHelper<T>::Type PndCAInternal::ArrayBase< T, 3 >::R |
Definition at line 302 of file PndCAArray.h.
|
inline |
|
inline |
|
inlineprotectedinherited |
Definition at line 113 of file PndCAArray.h.
|
inlineprotectedinherited |
Definition at line 115 of file PndCAArray.h.
|
inline |
return a reference to the value at the given indexes
Definition at line 613 of file PndCAArray.h.
References BOUNDS_CHECK, and z.
|
inline |
return a const reference to the value at the given indexes
Definition at line 619 of file PndCAArray.h.
References BOUNDS_CHECK, and z.
|
inline |
|
inline |
return a 2-dim array at the given index. This makes it behave like a 3-dim C-Array.
Definition at line 625 of file PndCAArray.h.
References a, BOUNDS_CHECK, and x.
|
inline |
return a const 2-dim array at the given index. This makes it behave like a 3-dim C-Array.
Definition at line 638 of file PndCAArray.h.
References a, BOUNDS_CHECK, and x.
|
inlineprotectedinherited |
Definition at line 116 of file PndCAArray.h.
|
inlineprotectedinherited |
Definition at line 114 of file PndCAArray.h.
|
inlineprotected |
Definition at line 325 of file PndCAArray.h.
|
protected |
Definition at line 321 of file PndCAArray.h.
|
protected |
Definition at line 322 of file PndCAArray.h.
|
protected |
Definition at line 323 of file PndCAArray.h.
|
protected |
Definition at line 324 of file PndCAArray.h.