FairRoot/PandaRoot
|
#include <PndCAArray.h>
Public Types | |
typedef PndCAInternal::ArrayBase< T, Dim > | Parent |
Public Member Functions | |
int | Size () const |
operator bool () const | |
bool | IsValid () const |
T & | operator* () |
const T & | operator* () const |
T * | Data () |
const T * | Data () const |
PndCAArray | operator+ (int x) const |
PndCAArray | operator- (int x) const |
template<typename Other > | |
PndCAArray< Other, Dim > | ReinterpretCast () const |
C-Array like class with the dimension dependent behavior defined in the ArrayBase class
Definition at line 73 of file PndCAArray.h.
typedef PndCAInternal::ArrayBase<T, Dim> PndCAArray< T, Dim >::Parent |
Definition at line 368 of file PndCAArray.h.
|
inline |
returns a pointer to the data This circumvents bounds checking so it should not be used.
Definition at line 398 of file PndCAArray.h.
|
inline |
returns a const pointer to the data This circumvents bounds checking so it should not be used.
Definition at line 403 of file PndCAArray.h.
|
inline |
allows you to check for validity of the array
Definition at line 383 of file PndCAArray.h.
|
inline |
allows you to check for validity of the array by casting to bool
Definition at line 379 of file PndCAArray.h.
|
inline |
|
inline |
|
inline |
moves the array base pointer so that the data that was once at index 0 will then be at index -x
Definition at line 654 of file PndCAArray.h.
|
inline |
moves the array base pointer so that the data that was once at index 0 will then be at index x
Definition at line 662 of file PndCAArray.h.
|
inline |
Definition at line 414 of file PndCAArray.h.
Referenced by PndCAArray< PndCAInternal::TypeForAlignmentHelper< T, alignment >::Type, Size::Dim >::ReinterpretCast().
|
inline |
Returns the number of elements in the array. If it is a multi-dimensional array the size is the multiplication of the dimensions ( e.g. a 10 x 20 array returns 200 as its size ).
Definition at line 374 of file PndCAArray.h.