#include <Geometry/CaloGeometry/interface/EZArrayVL.h>
Public Types | |
typedef MgrType::const_iterator | const_iterator |
typedef MgrType::const_reference | const_reference |
typedef MgrType::iterator | iterator |
typedef EZMgrVL< T > | MgrType |
typedef MgrType::reference | reference |
typedef MgrType::size_type | size_type |
typedef MgrType::value_type | value_type |
Public Member Functions | |
virtual void | assign (size_type size, const T &t=T()) const |
const_iterator | begin () const |
size_type | capacity () const |
bool | empty () const |
const_iterator | end () const |
EZArrayVL (const MgrType *mgr, const_iterator start, const_iterator finis) | |
EZArrayVL (const MgrType *mgr, size_type size=0, const T &t=T()) | |
const_reference | operator[] (const unsigned int i) const |
reference | operator[] (const unsigned int i) |
virtual void | resize (size_type size) |
size_type | size () const |
bool | uninitialized () const |
virtual | ~EZArrayVL () |
Private Member Functions | |
EZArrayVL () | |
Private Attributes | |
iterator | m_begin |
const MgrType * | m_mgr |
size_type | m_size |
Definition at line 7 of file EZArrayVL.h.
typedef MgrType::const_iterator EZArrayVL< T >::const_iterator |
Definition at line 13 of file EZArrayVL.h.
typedef MgrType::const_reference EZArrayVL< T >::const_reference |
Definition at line 15 of file EZArrayVL.h.
typedef MgrType::iterator EZArrayVL< T >::iterator |
Definition at line 12 of file EZArrayVL.h.
Definition at line 11 of file EZArrayVL.h.
typedef MgrType::reference EZArrayVL< T >::reference |
Definition at line 14 of file EZArrayVL.h.
typedef MgrType::size_type EZArrayVL< T >::size_type |
Definition at line 16 of file EZArrayVL.h.
typedef MgrType::value_type EZArrayVL< T >::value_type |
Definition at line 17 of file EZArrayVL.h.
EZArrayVL< T >::EZArrayVL | ( | const MgrType * | mgr, | |
size_type | size = 0 , |
|||
const T & | t = T() | |||
) | [inline] |
EZArrayVL< T >::EZArrayVL | ( | const MgrType * | mgr, | |
const_iterator | start, | |||
const_iterator | finis | |||
) | [inline] |
virtual void EZArrayVL< T >::assign | ( | size_type | size, | |
const T & | t = T() | |||
) | const [inline, virtual] |
Definition at line 45 of file EZArrayVL.h.
References EZMgrVL< T >::assign(), EZArrayVL< T >::m_begin, EZArrayVL< T >::m_mgr, EZArrayVL< T >::m_size, and t.
Referenced by EZArrayVL< T >::operator[]().
00047 { 00048 assert( (iterator)0 == m_begin ) ; 00049 m_size = size ; 00050 m_begin = m_mgr->assign( size, t ) ; 00051 }
const_iterator EZArrayVL< T >::begin | ( | ) | const [inline] |
Definition at line 53 of file EZArrayVL.h.
References EZArrayVL< T >::m_begin.
00053 { return m_begin ; }
Definition at line 73 of file EZArrayVL.h.
References EZArrayVL< T >::size().
00073 { return size() ; }
Definition at line 69 of file EZArrayVL.h.
References EZArrayVL< T >::size().
00069 { return ( 0 == size() ) ; }
const_iterator EZArrayVL< T >::end | ( | ) | const [inline] |
Definition at line 54 of file EZArrayVL.h.
References EZArrayVL< T >::m_begin, and EZArrayVL< T >::m_size.
const_reference EZArrayVL< T >::operator[] | ( | const unsigned int | i | ) | const [inline] |
Definition at line 56 of file EZArrayVL.h.
References EZArrayVL< T >::assign(), EZArrayVL< T >::m_begin, and EZArrayVL< T >::m_size.
00057 { 00058 if( (iterator)0 == m_begin ) assign( m_size ) ; 00059 return *( m_begin + i ) ; 00060 }
Definition at line 43 of file EZArrayVL.h.
References EZMgrVL< T >::assign(), and EZArrayVL< T >::m_mgr.
Definition at line 71 of file EZArrayVL.h.
References EZArrayVL< T >::m_begin.
Referenced by EZArrayVL< T >::capacity(), and EZArrayVL< T >::empty().
00071 { return ( m_end - m_begin ) ; }
Definition at line 67 of file EZArrayVL.h.
References EZArrayVL< T >::m_begin.
00067 { return ( 0 == m_begin ) ; }
Definition at line 82 of file EZArrayVL.h.
Referenced by EZArrayVL< T >::assign(), EZArrayVL< T >::begin(), EZArrayVL< T >::end(), EZArrayVL< T >::operator[](), EZArrayVL< T >::size(), and EZArrayVL< T >::uninitialized().
Definition at line 84 of file EZArrayVL.h.
Referenced by EZArrayVL< T >::assign(), and EZArrayVL< T >::resize().
Definition at line 83 of file EZArrayVL.h.
Referenced by EZArrayVL< T >::assign(), EZArrayVL< T >::end(), and EZArrayVL< T >::operator[]().