CbmRoot
L1Vector< T > Class Template Reference

#include <CbmL1Def.h>

Inheritance diagram for L1Vector< T >:
[legend]
Collaboration diagram for L1Vector< T >:
[legend]

Public Member Functions

 L1Vector ()
 
 L1Vector (const unsigned int n)
 
 L1Vector (const unsigned int n, const unsigned int value)
 
unsigned int Size () const
 
void Reset ()
 
void Resize (const unsigned int n)
 
void Store (const T &element)
 
T & operator[] (const size_t index)
 
const T & operator[] (const size_t index) const
 

Private Attributes

unsigned int fSize
 

Detailed Description

template<typename T>
class L1Vector< T >

Definition at line 66 of file CbmL1Def.h.

Constructor & Destructor Documentation

◆ L1Vector() [1/3]

template<typename T >
L1Vector< T >::L1Vector ( )
inline

Definition at line 68 of file CbmL1Def.h.

◆ L1Vector() [2/3]

template<typename T >
L1Vector< T >::L1Vector ( const unsigned int  n)
inline

Definition at line 69 of file CbmL1Def.h.

◆ L1Vector() [3/3]

template<typename T >
L1Vector< T >::L1Vector ( const unsigned int  n,
const unsigned int  value 
)
inline

Definition at line 70 of file CbmL1Def.h.

Member Function Documentation

◆ operator[]() [1/2]

template<typename T >
T& L1Vector< T >::operator[] ( const size_t  index)
inline

Definition at line 101 of file CbmL1Def.h.

◆ operator[]() [2/2]

template<typename T >
const T& L1Vector< T >::operator[] ( const size_t  index) const
inline

Definition at line 114 of file CbmL1Def.h.

◆ Reset()

template<typename T >
void L1Vector< T >::Reset ( )
inline

Definition at line 75 of file CbmL1Def.h.

◆ Resize()

template<typename T >
void L1Vector< T >::Resize ( const unsigned int  n)
inline

Definition at line 77 of file CbmL1Def.h.

◆ Size()

template<typename T >
unsigned int L1Vector< T >::Size ( ) const
inline

Definition at line 74 of file CbmL1Def.h.

◆ Store()

template<typename T >
void L1Vector< T >::Store ( const T &  element)
inline

Definition at line 88 of file CbmL1Def.h.

Member Data Documentation

◆ fSize

template<typename T >
unsigned int L1Vector< T >::fSize
private

Definition at line 120 of file CbmL1Def.h.


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