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

#include <AliHLTArray.h>

Inheritance diagram for AliHLTInternal::ArrayBase< T, 2 >:
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)
 
const R & operator() (int x, int y) const
 
AliHLTArray< T, 1 > operator[] (int x)
 
const AliHLTArray< T, 1 > operator[] (int x) const
 

Protected Member Functions

void SetSize (int x, int y, int)
 
- 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 fStride
 

Friends

class ArrayBase< T, 3 >
 

Detailed Description

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

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

Definition at line 266 of file AliHLTArray.h.

Member Function Documentation

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

return a reference to the value at the given indexes

Definition at line 277 of file AliHLTArray.h.

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

return a const reference to the value at the given indexes

Definition at line 281 of file AliHLTArray.h.

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

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

Definition at line 594 of file AliHLTArray.h.

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

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

Definition at line 609 of file AliHLTArray.h.


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