CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
BXVector< T > Class Template Reference

#include <BXVector.h>

Public Types

typedef std::vector< T >
::const_iterator 
const_iterator
 
typedef std::vector< T >::iterator iterator
 

Public Member Functions

const Tat (int bx, int i) const
 
const_iterator begin (int bx) const
 
 BXVector (int size=0, int bxFirst=0, int bxLast=0)
 
 BXVector (const BXVector &vector)
 
void clear ()
 
const_iterator end (int bx) const
 
int getFirstBX () const
 
int getLastBX () const
 
void push_back (int bx, T object)
 
void resize (int bx, int size)
 
void resizeAll (int size)
 
void setBXRange (int bxFirst, int bxLast)
 
unsigned size (int bx) const
 
 ~BXVector ()
 

Private Member Functions

unsigned indexFromBX (int bx) const
 

Private Attributes

int bxFirst_
 
int bxLast_
 
std::vector< std::vector< T > > data_
 internal data representation More...
 

Detailed Description

template<class T>
class BXVector< T >

Definition at line 11 of file BXVector.h.

Member Typedef Documentation

template<class T>
typedef std::vector< T >::const_iterator BXVector< T >::const_iterator

Definition at line 16 of file BXVector.h.

template<class T>
typedef std::vector< T >::iterator BXVector< T >::iterator

Definition at line 15 of file BXVector.h.

Constructor & Destructor Documentation

template<class T>
BXVector< T >::BXVector ( int  size = 0,
int  bxFirst = 0,
int  bxLast = 0 
)
template<class T>
BXVector< T >::BXVector ( const BXVector< T > &  vector)
template<class T>
BXVector< T >::~BXVector ( )

Member Function Documentation

template<class T>
const T& BXVector< T >::at ( int  bx,
int  i 
) const
template<class T>
const_iterator BXVector< T >::begin ( int  bx) const
template<class T>
void BXVector< T >::clear ( )
template<class T>
const_iterator BXVector< T >::end ( int  bx) const
template<class T>
int BXVector< T >::getFirstBX ( ) const
template<class T>
int BXVector< T >::getLastBX ( ) const
template<class T>
unsigned BXVector< T >::indexFromBX ( int  bx) const
private
template<class T>
void BXVector< T >::push_back ( int  bx,
T  object 
)
template<class T>
void BXVector< T >::resize ( int  bx,
int  size 
)
template<class T>
void BXVector< T >::resizeAll ( int  size)
template<class T>
void BXVector< T >::setBXRange ( int  bxFirst,
int  bxLast 
)
template<class T>
unsigned BXVector< T >::size ( int  bx) const

Member Data Documentation

template<class T>
int BXVector< T >::bxFirst_
private

Definition at line 81 of file BXVector.h.

template<class T>
int BXVector< T >::bxLast_
private

Definition at line 82 of file BXVector.h.

template<class T>
std::vector< std::vector< T > > BXVector< T >::data_
private

internal data representation

Definition at line 89 of file BXVector.h.