StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | List of all members
AliHLTFixedArray< T, Size, alignment > Class Template Reference

#include <AliHLTArray.h>

Inheritance diagram for AliHLTFixedArray< T, Size, alignment >:
AliHLTArray< AliHLTInternal::TypeForAlignmentHelper< T, alignment >::Type, Size::Dim > AliHLTInternal::ArrayBase< AliHLTInternal::TypeForAlignmentHelper< T, alignment >::Type, Dim >

Public Types

typedef
AliHLTInternal::TypeForAlignmentHelper
< T, alignment >::Type 
T2
 
typedef
AliHLTInternal::ArrayBase< T2,
Size::Dim > 
Parent
 
- Public Types inherited from AliHLTArray< AliHLTInternal::TypeForAlignmentHelper< T, alignment >::Type, Size::Dim >
typedef
AliHLTInternal::ArrayBase
< AliHLTInternal::TypeForAlignmentHelper
< T, alignment >::Type, Dim > 
Parent
 

Public Member Functions

 AliHLTFixedArray (const AliHLTFixedArray &rhs)
 
- Public Member Functions inherited from AliHLTArray< AliHLTInternal::TypeForAlignmentHelper< T, alignment >::Type, Size::Dim >
int Size () const
 
 operator bool () const
 
bool IsValid () const
 
AliHLTInternal::TypeForAlignmentHelper
< T, alignment >::Type & 
operator* ()
 
const
AliHLTInternal::TypeForAlignmentHelper
< T, alignment >::Type & 
operator* () const
 
AliHLTInternal::TypeForAlignmentHelper
< T, alignment >::Type * 
Data ()
 
const
AliHLTInternal::TypeForAlignmentHelper
< T, alignment >::Type * 
Data () const
 
AliHLTArray operator+ (int x) const
 
AliHLTArray operator- (int x) const
 
AliHLTArray< Other, Dim > ReinterpretCast () const
 

Detailed Description

template<typename T, typename Size, int alignment = 0>
class AliHLTFixedArray< T, Size, alignment >

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.

Parameters
Ttype of the entries in the array.
Sizenumber of entries in the array.
Dimselects 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 543 of file AliHLTArray.h.


The documentation for this class was generated from the following file: