CbmRoot
L1Portion< T > Class Template Reference

#include <L1Portion.h>

Collaboration diagram for L1Portion< T >:
[legend]

Public Types

typedef vector< T > vType
 

Public Member Functions

 L1Portion ()
 
 L1Portion (int size)
 
 L1Portion (int size, int size2)
 
vTypeoperator[] (int i)
 
void resize (int size)
 
void reserve (int size)
 
void reserve2 (int size)
 
void push_back (vType &v)
 
void add_void ()
 
void add_void (int i)
 
int CalcSize ()
 

Private Attributes

vector< vTypea
 
int dataSize
 

Detailed Description

template<typename T>
class L1Portion< T >

Definition at line 9 of file L1Portion.h.

Member Typedef Documentation

◆ vType

template<typename T >
typedef vector<T> L1Portion< T >::vType

Definition at line 106 of file L1Portion.h.

Constructor & Destructor Documentation

◆ L1Portion() [1/3]

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

Definition at line 108 of file L1Portion.h.

◆ L1Portion() [2/3]

template<typename T >
L1Portion< T >::L1Portion ( int  size)
inline

Definition at line 109 of file L1Portion.h.

References L1Portion< T >::reserve().

◆ L1Portion() [3/3]

template<typename T >
L1Portion< T >::L1Portion ( int  size,
int  size2 
)
inline

Definition at line 110 of file L1Portion.h.

References L1Portion< T >::reserve().

Member Function Documentation

◆ add_void() [1/2]

template<typename T >
void L1Portion< T >::add_void ( )
inline

Definition at line 122 of file L1Portion.h.

References L1Portion< T >::a, L1Portion< T >::dataSize, and v.

◆ add_void() [2/2]

template<typename T >
void L1Portion< T >::add_void ( int  i)
inline

Definition at line 128 of file L1Portion.h.

References L1Portion< T >::a, and i.

◆ CalcSize()

template<typename T >
int L1Portion< T >::CalcSize ( )
inline

Definition at line 133 of file L1Portion.h.

References L1Portion< T >::a, and i.

◆ operator[]()

template<typename T >
vType& L1Portion< T >::operator[] ( int  i)
inline

Definition at line 114 of file L1Portion.h.

References L1Portion< T >::a, and i.

◆ push_back()

template<typename T >
void L1Portion< T >::push_back ( vType v)
inline

Definition at line 121 of file L1Portion.h.

References L1Portion< T >::a, and v.

◆ reserve()

◆ reserve2()

template<typename T >
void L1Portion< T >::reserve2 ( int  size)
inline

Definition at line 117 of file L1Portion.h.

References L1Portion< T >::a, i, and L1Portion< T >::reserve().

◆ resize()

template<typename T >
void L1Portion< T >::resize ( int  size)
inline

Definition at line 115 of file L1Portion.h.

References L1Portion< T >::a.

Member Data Documentation

◆ a

◆ dataSize

template<typename T >
int L1Portion< T >::dataSize
private

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