#include <EZArrayFL.h>
Public Types | |
typedef MgrType::const_iterator | const_iterator |
typedef MgrType::const_reference | const_reference |
typedef MgrType::iterator | iterator |
typedef EZMgrFL< T > | MgrType |
typedef MgrType::reference | reference |
typedef MgrType::size_type | size_type |
typedef MgrType::value_type | value_type |
Public Member Functions | |
void | assign (const T &t=T()) const |
const_iterator | begin () const |
size_type | capacity () const |
bool | empty () const |
const_iterator | end () const |
EZArrayFL (const MgrType *mgr) | |
EZArrayFL (const MgrType *mgr, const_iterator start, const_iterator finis) | |
EZArrayFL () | |
reference | operator[] (const unsigned int i) |
const_reference | operator[] (const unsigned int i) const |
void | resize () const |
size_type | size () const |
bool | uninitialized () const |
virtual | ~EZArrayFL () |
Private Attributes | |
iterator | m_begin |
const MgrType * | m_mgr |
stl-vector-LIKE Class designed to allow many small fixed-length containers to have a common memory managed by a single higher-level object.
It has the usual common iterators (begin, end) and functions (size, capacity, etc) but is NOT actually an STL-vector.
It practices 'on-demand', or 'lazy evaluation', only allocating memory when requested.
Definition at line 21 of file EZArrayFL.h.
typedef MgrType::const_iterator EZArrayFL< T >::const_iterator |
Definition at line 27 of file EZArrayFL.h.
typedef MgrType::const_reference EZArrayFL< T >::const_reference |
Definition at line 29 of file EZArrayFL.h.
typedef MgrType::iterator EZArrayFL< T >::iterator |
Definition at line 26 of file EZArrayFL.h.
Definition at line 25 of file EZArrayFL.h.
typedef MgrType::reference EZArrayFL< T >::reference |
Definition at line 28 of file EZArrayFL.h.
typedef MgrType::size_type EZArrayFL< T >::size_type |
Definition at line 30 of file EZArrayFL.h.
typedef MgrType::value_type EZArrayFL< T >::value_type |
Definition at line 31 of file EZArrayFL.h.
Definition at line 33 of file EZArrayFL.h.
Definition at line 36 of file EZArrayFL.h.
EZArrayFL< T >::EZArrayFL | ( | const MgrType * | mgr, |
const_iterator | start, | ||
const_iterator | finis | ||
) | [inline] |
Definition at line 53 of file EZArrayFL.h.
{}
Definition at line 57 of file EZArrayFL.h.
Referenced by HCaloDetIdAssociator::getDetIdPoints(), EZArrayFL< GlobalPoint >::operator[](), and EZArrayFL< GlobalPoint >::resize().
const_iterator EZArrayFL< T >::begin | ( | void | ) | const [inline] |
Definition at line 63 of file EZArrayFL.h.
Referenced by CaloCellGeometry::checkParmPtr(), TrackDetMatchInfo::dumpGeometry(), EZArrayFL< GlobalPoint >::EZArrayFL(), and CaloSubdetectorGeometry::getSummary().
{ return m_begin ; }
Definition at line 83 of file EZArrayFL.h.
{ return size() ; }
Definition at line 79 of file EZArrayFL.h.
Referenced by CaloCellGeometry::emptyCorners().
{ return ( 0 == size() ) ; }
const_iterator EZArrayFL< T >::end | ( | void | ) | const [inline] |
Definition at line 64 of file EZArrayFL.h.
Referenced by TrackDetMatchInfo::dumpGeometry(), and CaloSubdetectorGeometry::getSummary().
const_reference EZArrayFL< T >::operator[] | ( | const unsigned int | i | ) | const [inline] |
Definition at line 72 of file EZArrayFL.h.
Definition at line 55 of file EZArrayFL.h.
{ assign() ; }
Definition at line 81 of file EZArrayFL.h.
Referenced by EZArrayFL< GlobalPoint >::capacity(), CaloCellGeometry::checkParmPtr(), HFClusterAlgo::clusterize(), EZArrayFL< GlobalPoint >::empty(), BaseCrystal::setCorners(), and ValidateGeometry::validateCaloGeometry().
Definition at line 77 of file EZArrayFL.h.
Referenced by IdealCastorTrapezoid::getCorners(), IdealZPrism::getCorners(), IdealZDCTrapezoid::getCorners(), IdealObliquePrism::getCorners(), and PreshowerStrip::getCorners().
Definition at line 91 of file EZArrayFL.h.
Referenced by EZArrayFL< GlobalPoint >::assign(), EZArrayFL< GlobalPoint >::begin(), EZArrayFL< GlobalPoint >::end(), EZArrayFL< GlobalPoint >::operator[](), and EZArrayFL< GlobalPoint >::uninitialized().
Definition at line 92 of file EZArrayFL.h.
Referenced by EZArrayFL< GlobalPoint >::assign(), EZArrayFL< GlobalPoint >::end(), EZArrayFL< GlobalPoint >::EZArrayFL(), and EZArrayFL< GlobalPoint >::size().