![]() |
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) |
Protected Member Functions inherited from PndCAInternal::ArrayBoundsCheck | |
| virtual | ~ArrayBoundsCheck () |
| 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 396 of file PndCAArray.h.
| typedef ReturnTypeHelper<T>::Type PndCAInternal::ArrayBase< T, 3 >::R |
Definition at line 409 of file PndCAArray.h.
|
inline |
|
inline |
|
inline |
return a reference to the value at the given indexes
Definition at line 724 of file PndCAArray.h.
References BOUNDS_CHECK.
|
inline |
return a const reference to the value at the given indexes
Definition at line 730 of file PndCAArray.h.
References BOUNDS_CHECK.
|
inline |
Definition at line 400 of file PndCAArray.h.
|
inline |
return a 2-dim array at the given index. This makes it behave like a 3-dim C-Array.
Definition at line 736 of file PndCAArray.h.
References BOUNDS_CHECK.
|
inline |
return a const 2-dim array at the given index. This makes it behave like a 3-dim C-Array.
Definition at line 749 of file PndCAArray.h.
References BOUNDS_CHECK.
|
inlineprotected |
Definition at line 432 of file PndCAArray.h.
|
protected |
Definition at line 428 of file PndCAArray.h.
|
protected |
Definition at line 429 of file PndCAArray.h.
|
protected |
Definition at line 430 of file PndCAArray.h.
|
protected |
Definition at line 431 of file PndCAArray.h.