| FairRoot/PandaRoot
    | 
#include <PndCAArray.h>
 
  
 | Public Types | |
| typedef PndCAInternal::TypeForAlignmentHelper < T, alignment >::Type | T2 | 
| typedef PndCAInternal::ArrayBase< T2, Size::Dim > | Parent | 
| Public Member Functions | |
| PndCAFixedArray () | |
| PndCAFixedArray (const PndCAFixedArray &rhs) | |
| int | Size () const | 
| operator bool () const | |
| bool | IsValid () const | 
| PndCAInternal::TypeForAlignmentHelper < T, alignment >::Type & | operator* () | 
| const PndCAInternal::TypeForAlignmentHelper < T, alignment >::Type & | operator* () const | 
| PndCAInternal::TypeForAlignmentHelper < T, alignment >::Type * | Data () | 
| const PndCAInternal::TypeForAlignmentHelper < T, alignment >::Type * | Data () const | 
| PndCAArray | operator+ (int x) const | 
| PndCAArray | operator- (int x) const | 
| PndCAArray< Other, Dim > | ReinterpretCast () const | 
| Private Member Functions | |
| void * | operator new (size_t) | 
| PndCAFixedArray & | operator= (const PndCAFixedArray &) | 
| Private Attributes | |
| PndCAInternal::AlignedData < typename PndCAInternal::TypeForAlignmentHelper < T, alignment >::Type, Size::Size, alignment > | fFixedArray | 
Owns the data. When it goes out of scope the data is freed.
The memory is allocated on the stack.
Instantiate this class on the stack.
| T | type of the entries in the array. | 
| Size | number of entries in the array. | 
| Dim | selects the operator[]/operator() behavior it should have. I.e. makes it behave like a 1-, 2- or 3-dim array. (defaults to 1) | 
Definition at line 536 of file PndCAArray.h.
| typedef PndCAInternal::ArrayBase<T2, Size::Dim> PndCAFixedArray< T, Size, alignment >::Parent | 
Definition at line 540 of file PndCAArray.h.
| typedef PndCAInternal::TypeForAlignmentHelper<T, alignment>::Type PndCAFixedArray< T, Size, alignment >::T2 | 
Definition at line 539 of file PndCAArray.h.
| 
 | inline | 
Definition at line 541 of file PndCAArray.h.
| 
 | inline | 
Definition at line 546 of file PndCAArray.h.
| 
 | inlineinherited | 
returns a pointer to the data This circumvents bounds checking so it should not be used.
Definition at line 398 of file PndCAArray.h.
| 
 | inlineinherited | 
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.
| 
 | inlineinherited | 
allows you to check for validity of the array
Definition at line 383 of file PndCAArray.h.
| 
 | inlineinherited | 
allows you to check for validity of the array by casting to bool
Definition at line 379 of file PndCAArray.h.
| 
 | private | 
| 
 | inlineinherited | 
returns a reference to the data at index 0
Definition at line 388 of file PndCAArray.h.
References BOUNDS_CHECK.
| 
 | inlineinherited | 
returns a const reference to the data at index 0
Definition at line 392 of file PndCAArray.h.
References BOUNDS_CHECK.
| 
 | inlineinherited | 
moves the array base pointer so that the data that was once at index 0 will then be at index -x
| 
 | inlineinherited | 
moves the array base pointer so that the data that was once at index 0 will then be at index x
| 
 | private | 
| 
 | inlineinherited | 
Definition at line 414 of file PndCAArray.h.
References r, PndCAArray< T, Dim >::ReinterpretCast(), and T.
| 
 | inlineinherited | 
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.
| 
 | private | 
Definition at line 554 of file PndCAArray.h.
 1.8.8
 1.8.8