StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
AliHLTInternal::ArrayBase< T, 3 > Class Template Reference

#include <AliHLTArray.h>

Inheritance diagram for AliHLTInternal::ArrayBase< T, 3 >:
AliHLTInternal::ArrayBoundsCheck

Public Types

typedef ReturnTypeHelper< T >::Type R
 

Public Member Functions

 ArrayBase (const ArrayBase &rhs)
 
ArrayBaseoperator= (const ArrayBase &rhs)
 
R & operator() (int x, int y, int z)
 
const R & operator() (int x, int y, int z) const
 
AliHLTArray< T, 2 > operator[] (int x)
 
const AliHLTArray< T, 2 > operator[] (int x) const
 

Protected Member Functions

void SetSize (int x, int y, int z)
 
- Protected Member Functions inherited from AliHLTInternal::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
 

Detailed Description

template<typename T>
class AliHLTInternal::ArrayBase< T, 3 >

3-dim arrays should use operator(int, int, int) operator[] can be used to return a 2-dim array

Definition at line 303 of file AliHLTArray.h.

Member Function Documentation

template<typename T >
AliHLTInternal::ArrayBase< T, 3 >::R & AliHLTInternal::ArrayBase< T, 3 >::operator() ( int  x,
int  y,
int  z 
)
inline

return a reference to the value at the given indexes

Definition at line 624 of file AliHLTArray.h.

template<typename T >
const AliHLTInternal::ArrayBase< T, 3 >::R & AliHLTInternal::ArrayBase< T, 3 >::operator() ( int  x,
int  y,
int  z 
) const
inline

return a const reference to the value at the given indexes

Definition at line 630 of file AliHLTArray.h.

template<typename T >
AliHLTArray< T, 2 > AliHLTInternal::ArrayBase< T, 3 >::operator[] ( int  x)
inline

return a 2-dim array at the given index. This makes it behave like a 3-dim C-Array.

Definition at line 636 of file AliHLTArray.h.

template<typename T >
const AliHLTArray< T, 2 > AliHLTInternal::ArrayBase< T, 3 >::operator[] ( int  x) const
inline

return a const 2-dim array at the given index. This makes it behave like a 3-dim C-Array.

Definition at line 651 of file AliHLTArray.h.


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