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, 1 > Class Template Reference

#include <AliHLTArray.h>

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

Public Types

typedef ReturnTypeHelper< T >::Type R
 

Public Member Functions

 ArrayBase (const ArrayBase &rhs)
 
ArrayBaseoperator= (const ArrayBase &rhs)
 
R & operator[] (int x)
 
const R & operator[] (int x) const
 

Protected Member Functions

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

Friends

class ArrayBase< T, 2 >
 

Detailed Description

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

1-dim arrays only have operator[]

Definition at line 238 of file AliHLTArray.h.

Member Function Documentation

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

return a reference to the value at the given index

Definition at line 249 of file AliHLTArray.h.

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

return a const reference to the value at the given index

Definition at line 253 of file AliHLTArray.h.


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