#include <DetSetLazyVector.h>
Public Types | |
typedef std::vector< value_type > | collection_type |
typedef boost::transform_iterator < dslv::LazyAdapter< T > , typename collection_type::const_iterator > | const_iterator |
typedef detset const & | const_reference |
typedef DetSet< T > | detset |
typedef collection_type::size_type | size_type |
typedef detset | value_type |
Public Member Functions | |
const_iterator | begin () const |
Return an iterator to the first DetSet. More... | |
DetSetLazyVector () | |
DetSetLazyVector (boost::shared_ptr< dslv::LazyGetter< T > > iGetter, const std::vector< det_id_type > &iDets) | |
bool | empty () const |
Return true if we contain no DetSets. More... | |
const_iterator | end () const |
Return the off-the-end iterator. More... | |
const_iterator | find (det_id_type id) const |
const_reference | operator[] (det_id_type i) const |
size_type | size () const |
Return the number of contained DetSets. More... | |
void | swap (DetSetLazyVector &other) |
Private Member Functions | |
BOOST_CLASS_REQUIRE (T, boost, LessThanComparableConcept) | |
Private Attributes | |
boost::shared_ptr < dslv::LazyGetter< T > > | getter_ |
collection_type | sets_ |
Definition at line 44 of file DetSetLazyVector.h.
typedef std::vector<value_type> edm::DetSetLazyVector< T >::collection_type |
Definition at line 106 of file DetSetLazyVector.h.
typedef boost::transform_iterator< dslv::LazyAdapter<T>, typename collection_type::const_iterator > edm::DetSetLazyVector< T >::const_iterator |
Definition at line 111 of file DetSetLazyVector.h.
typedef detset const& edm::DetSetLazyVector< T >::const_reference |
Definition at line 108 of file DetSetLazyVector.h.
typedef DetSet<T> edm::DetSetLazyVector< T >::detset |
Definition at line 104 of file DetSetLazyVector.h.
typedef collection_type::size_type edm::DetSetLazyVector< T >::size_type |
Definition at line 112 of file DetSetLazyVector.h.
typedef detset edm::DetSetLazyVector< T >::value_type |
Definition at line 105 of file DetSetLazyVector.h.
|
inline |
Compiler-generated default c'tor, copy c'tor, d'tor and assignment are correct.
Definition at line 121 of file DetSetLazyVector.h.
|
inline |
Definition at line 123 of file DetSetLazyVector.h.
References edm::DetSetLazyVector< T >::sets_.
|
inline |
Return an iterator to the first DetSet.
Definition at line 239 of file DetSetLazyVector.h.
|
private |
DetSetVector requires that T objects can be compared with operator<.
|
inline |
Return true if we contain no DetSets.
Definition at line 187 of file DetSetLazyVector.h.
Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
Return the off-the-end iterator.
Definition at line 248 of file DetSetLazyVector.h.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Return an iterator to the DetSet with the given id, or end() if there is no such DetSet.
Definition at line 203 of file DetSetLazyVector.h.
References relativeConstraints::empty, errorMatrix2Lands_multiChannel::id, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by BeautifulSoup.Tag::_invert(), and BeautifulSoup.PageElement::insert().
|
inline |
Return a reference to the DetSet with the given detector ID. If there is no such DetSet, we throw an edm::Exception. DO NOT MODIFY THE id DATA MEMBER OF THE REFERENCED DetSet!
Definition at line 227 of file DetSetLazyVector.h.
References edm::dslvdetail::_throw_range(), end, and spr::find().
|
inline |
|
inline |
Definition at line 178 of file DetSetLazyVector.h.
References std::swap().
|
private |
Definition at line 172 of file DetSetLazyVector.h.
|
private |
This function will be called by the edm::Event after the DetSetVector has been inserted into the Event.
Definition at line 171 of file DetSetLazyVector.h.
Referenced by edm::DetSetLazyVector< T >::DetSetLazyVector().