#include <LazyGetter.h>
Public Types | |
typedef std::vector< T > ::const_iterator | const_iterator |
typedef std::pair < const_iterator, const_iterator > | pair_iterator |
Public Member Functions | |
const_iterator | begin () const |
Get begin iterator. | |
const_iterator | end () const |
Get off the end iterator. | |
pair_iterator | find (uint32_t id) const |
Get range of T on on det. | |
uint32_t | finish () const |
Get off-the-end finish index. | |
uint32_t | region () const |
Get region number. | |
RegionIndex (uint32_t region, uint32_t start, uint32_t finish, const LazyGetter< T > *theLazyGetter) | |
Constructor. | |
RegionIndex () | |
Default constructor. | |
uint32_t | start () const |
Get start index. | |
bool | unpacked () const |
Get unpacking status. | |
RegionIndex< T > & | updateLazyGetter (const LazyGetter< T > *newLazyGetter) |
Update the pointer to the lazyGetter. | |
Private Member Functions | |
void | finish (uint32_t) |
Set of-the-end finish index. | |
void | start (uint32_t) |
Set start index. | |
void | unpacked (bool) |
Set unpacking status. | |
Private Attributes | |
uint32_t | finish_ |
const LazyGetter< T > * | getter_ |
uint32_t | region_ |
uint32_t | start_ |
bool | unpacked_ |
Friends | |
class | LazyAdapter< T > |
Definition at line 40 of file LazyGetter.h.
typedef std::vector<T>::const_iterator edm::RegionIndex< T >::const_iterator |
Definition at line 46 of file LazyGetter.h.
typedef std::pair<const_iterator,const_iterator> edm::RegionIndex< T >::pair_iterator |
Definition at line 47 of file LazyGetter.h.
edm::RegionIndex< T >::RegionIndex | ( | ) | [inline] |
edm::RegionIndex< T >::RegionIndex | ( | uint32_t | region, |
uint32_t | start, | ||
uint32_t | finish, | ||
const LazyGetter< T > * | theLazyGetter | ||
) | [inline] |
RegionIndex< T >::const_iterator edm::RegionIndex< T >::begin | ( | void | ) | const [inline] |
Get begin iterator.
Definition at line 180 of file LazyGetter.h.
Referenced by SiStripRecHitConverterAlgorithm::run(), and MeasurementTrackerImpl::updateStrips().
RegionIndex< T >::const_iterator edm::RegionIndex< T >::end | ( | void | ) | const [inline] |
Get off the end iterator.
Definition at line 189 of file LazyGetter.h.
Referenced by MeasurementTrackerImpl::updateStrips().
RegionIndex< T >::pair_iterator edm::RegionIndex< T >::find | ( | uint32_t | id | ) | const [inline] |
uint32_t edm::RegionIndex< T >::finish | ( | ) | const [inline] |
Get off-the-end finish index.
Definition at line 140 of file LazyGetter.h.
Referenced by edm::LazyAdapter< T >::operator()(), and SiStripRecHitConverterAlgorithm::run().
{ return finish_; }
void edm::RegionIndex< T >::finish | ( | uint32_t | newfinish | ) | [inline, private] |
uint32_t edm::RegionIndex< T >::region | ( | ) | const [inline] |
Get region number.
Definition at line 125 of file LazyGetter.h.
Referenced by edm::LazyAdapter< T >::operator()().
{ return region_; }
uint32_t edm::RegionIndex< T >::start | ( | ) | const [inline] |
Get start index.
Definition at line 133 of file LazyGetter.h.
Referenced by edm::LazyAdapter< T >::operator()(), and SiStripRecHitConverterAlgorithm::run().
{ return start_; }
void edm::RegionIndex< T >::start | ( | uint32_t | newstart | ) | [inline, private] |
bool edm::RegionIndex< T >::unpacked | ( | ) | const [inline] |
Get unpacking status.
Definition at line 148 of file LazyGetter.h.
Referenced by edm::LazyAdapter< T >::operator()().
{ return unpacked_; }
void edm::RegionIndex< T >::unpacked | ( | bool | newunpacked | ) | [inline, private] |
RegionIndex< T > & edm::RegionIndex< T >::updateLazyGetter | ( | const LazyGetter< T > * | newLazyGetter | ) | [inline] |
Update the pointer to the lazyGetter.
Definition at line 198 of file LazyGetter.h.
Referenced by edm::UpdateGetterAdapter< T >::operator()(), and edm::LazyAdapter< T >::operator()().
{ getter_ = newGetter; return *this; }
friend class LazyAdapter< T > [friend] |
Definition at line 42 of file LazyGetter.h.
uint32_t edm::RegionIndex< T >::finish_ [private] |
Definition at line 95 of file LazyGetter.h.
const LazyGetter<T>* edm::RegionIndex< T >::getter_ [private] |
Definition at line 97 of file LazyGetter.h.
uint32_t edm::RegionIndex< T >::region_ [private] |
Definition at line 93 of file LazyGetter.h.
uint32_t edm::RegionIndex< T >::start_ [private] |
Definition at line 94 of file LazyGetter.h.
bool edm::RegionIndex< T >::unpacked_ [private] |
Definition at line 96 of file LazyGetter.h.