#include <PtrVector.h>
Public Types | |
typedef void | collection_type |
typedef PtrVectorItr< T > | const_iterator |
typedef PtrVectorItr< T > | iterator |
typedef Ptr< T > | value_type |
Public Member Functions | |
const_iterator | begin () const |
const_iterator | end () const |
void | fillView (std::vector< void const * > &pointers) const |
PtrVector & | operator= (PtrVector const &rhs) |
Ptr< T > | operator[] (unsigned long const iIndex) const |
template<typename U > | |
PtrVector (PtrVector< U > const &iOther) | |
PtrVector (ProductID const &iId) | |
PtrVector () | |
PtrVector (PtrVector< T > const &iOther) | |
void | push_back (Ptr< T > const &iPtr) |
template<typename U > | |
void | push_back (Ptr< U > const &iPtr) |
void | swap (PtrVector &other) |
Private Member Functions | |
Ptr< T > | fromItr (std::vector< void const * >::const_iterator const &iItr) const |
std::type_info const & | typeInfo () const |
Friends | |
class | PtrVectorItr< T > |
Definition at line 101 of file PtrVector.h.
typedef void edm::PtrVector< T >::collection_type |
Definition at line 108 of file PtrVector.h.
typedef PtrVectorItr<T> edm::PtrVector< T >::const_iterator |
Definition at line 105 of file PtrVector.h.
typedef PtrVectorItr<T> edm::PtrVector< T >::iterator |
Definition at line 106 of file PtrVector.h.
typedef Ptr<T> edm::PtrVector< T >::value_type |
Definition at line 107 of file PtrVector.h.
edm::PtrVector< T >::PtrVector | ( | ) | [inline] |
Definition at line 111 of file PtrVector.h.
: PtrVectorBase() {}
edm::PtrVector< T >::PtrVector | ( | ProductID const & | iId | ) | [inline, explicit] |
Definition at line 112 of file PtrVector.h.
: PtrVectorBase(iId) {}
edm::PtrVector< T >::PtrVector | ( | PtrVector< T > const & | iOther | ) | [inline] |
Definition at line 113 of file PtrVector.h.
: PtrVectorBase(iOther) {}
edm::PtrVector< T >::PtrVector | ( | PtrVector< U > const & | iOther | ) | [inline] |
Definition at line 116 of file PtrVector.h.
: PtrVectorBase(iOther) { BOOST_STATIC_ASSERT( (boost::is_base_of<T, U>::value) ); }
const_iterator edm::PtrVector< T >::begin | ( | void | ) | const [inline] |
Definition at line 126 of file PtrVector.h.
Referenced by reco::SuperCluster::clustersBegin(), main(), BremRecoveryClusterAlgo::makeIslandSuperClusters(), HiBremRecoveryClusterAlgo::makeIslandSuperClusters(), Multi5x5BremRecoveryClusterAlgo::makeIslandSuperClusters(), HiBremRecoveryClusterAlgo::makeSuperClusters(), BremRecoveryClusterAlgo::makeSuperClusters(), Multi5x5BremRecoveryClusterAlgo::makeSuperClusters(), reco::SuperCluster::preshowerClustersBegin(), and reco::SuperCluster::SuperCluster().
{ return const_iterator(this->void_begin(), this); }
const_iterator edm::PtrVector< T >::end | ( | void | ) | const [inline] |
Definition at line 131 of file PtrVector.h.
Referenced by reco::SuperCluster::clustersEnd(), main(), BremRecoveryClusterAlgo::makeIslandSuperClusters(), HiBremRecoveryClusterAlgo::makeIslandSuperClusters(), Multi5x5BremRecoveryClusterAlgo::makeIslandSuperClusters(), HiBremRecoveryClusterAlgo::makeSuperClusters(), BremRecoveryClusterAlgo::makeSuperClusters(), Multi5x5BremRecoveryClusterAlgo::makeSuperClusters(), reco::SuperCluster::preshowerClustersEnd(), and reco::SuperCluster::SuperCluster().
{ return const_iterator(this->void_end(), this); }
void PtrVector::fillView | ( | std::vector< void const * > & | pointers | ) | const |
Definition at line 181 of file PtrVector.h.
References begin, alignCSCRings::e, end, i, edm::Ptr< T >::isNull(), and findQualityFiles::size.
Referenced by edm::fillView().
Ptr<T> edm::PtrVector< T >::fromItr | ( | std::vector< void const * >::const_iterator const & | iItr | ) | const [inline, private] |
Definition at line 173 of file PtrVector.h.
{
return this->makePtr<Ptr<T> >(iItr);
}
PtrVector& edm::PtrVector< T >::operator= | ( | PtrVector< T > const & | rhs | ) | [inline] |
Ptr<T> edm::PtrVector< T >::operator[] | ( | unsigned long const | iIndex | ) | const [inline] |
Definition at line 122 of file PtrVector.h.
{
return this->makePtr<Ptr<T> >(iIndex);
}
void edm::PtrVector< T >::push_back | ( | Ptr< T > const & | iPtr | ) | [inline] |
Definition at line 137 of file PtrVector.h.
Referenced by reco::SuperCluster::addCluster(), reco::SuperCluster::addPreshowerCluster(), HiEgammaSCEnergyCorrectionAlgo::applyCorrection(), FWLiteJetProducer::applyCuts(), ConvertedPhotonProducer::buildCollections(), CaloClusterVectorCopier(), EcalClusterPUCleaningTools::CleanedSuperCluster(), pat::helper::BasicOverlapTest::fillOverlapsForItem(), pat::helper::OverlapBySuperClusterSeed::fillOverlapsForItem(), Multi5x5SuperClusterProducer::getClusterPtrVector(), SuperClusterProducer::getClusterPtrVector(), HiSuperClusterProducer::getClusterPtrVector(), BremRecoveryClusterAlgo::makeIslandSuperClusters(), HiBremRecoveryClusterAlgo::makeIslandSuperClusters(), Multi5x5BremRecoveryClusterAlgo::makeIslandSuperClusters(), HybridClusterAlgo::makeSuperClusters(), HiBremRecoveryClusterAlgo::makeSuperClusters(), BremRecoveryClusterAlgo::makeSuperClusters(), Multi5x5BremRecoveryClusterAlgo::makeSuperClusters(), ConversionProducer::matchingSC(), reco::Mustache::MustacheID(), helper::SelectionPtrViewAdder< T >::operator()(), UnifiedSCCollectionProducer::produce(), HybridClusterProducer::produce(), ElectronRecalibSuperClusterAssociator::produce(), PreshowerClusterProducer::produce(), CleanAndMergeProducer::produce(), UncleanSCRecoveryProducer::produce(), EgammaHLTHybridClusterProducer::produce(), reco::modules::NamedCandCombiner< Selector, PairSelector, Cloner, Setup, Init >::produce(), pf2pat::TopProjectorAlgo< Top, Bottom >::ptrToAncestor(), TopProjector< Top, Bottom >::ptrToAncestor(), PFRootEventManager::reconstructCaloJets(), PFRootEventManager::reconstructGenJets(), PFRootEventManager::reconstructPFJets(), and reco::SuperCluster::SuperCluster().
{ this->push_back_base(iPtr.refCore(), iPtr.key(), iPtr.hasProductCache() ? iPtr.operator->() : static_cast<void const*>(0)); }
void edm::PtrVector< T >::push_back | ( | Ptr< U > const & | iPtr | ) | [inline] |
Definition at line 144 of file PtrVector.h.
{ //check that types are assignable BOOST_STATIC_ASSERT( (boost::is_base_of<T, U>::value) ); this->push_back_base(iPtr.refCore(), iPtr.key(), iPtr.hasProductCache() ? iPtr.operator->() : static_cast<void const*>(0)); }
void edm::PtrVector< T >::swap | ( | PtrVector< T > & | other | ) | [inline] |
Definition at line 152 of file PtrVector.h.
Referenced by edm::PtrVector< Candidate >::operator=(), edm::PtrVector< Candidate >::swap(), and edm::swap().
{ this->PtrVectorBase::swap(other); }
std::type_info const& edm::PtrVector< T >::typeInfo | ( | ) | const [inline, private, virtual] |
Reimplemented from edm::PtrVectorBase.
Definition at line 170 of file PtrVector.h.
{return typeid(T);}
friend class PtrVectorItr< T > [friend] |
Definition at line 110 of file PtrVector.h.