Classes | |
struct | DoNoPostReadFixup |
struct | Key |
struct | KeyVal |
struct | PostReadFixup |
struct | PostReadFixupTrait |
struct | PtrSetter |
struct | ViewFiller |
struct | ViewFiller< PtrVector< T > > |
struct | ViewFiller< RefToBaseVector< T > > |
Functions | |
template<typename RP , typename R > | |
void | checkRef (const RP &rp, const R &r) |
throw if r hasn't the same id as rp |
void edm::helpers::checkRef | ( | const RP & | rp, |
const R & | r | ||
) |
throw if r hasn't the same id as rp
Definition at line 35 of file AssociationMapHelpers.h.
References edm::errors::InvalidReference, and edm::Exception::throwThis().
Referenced by edm::OneToOneGeneric< CKey, CVal, index >::insert(), edm::OneToMany< JetC, reco::TrackCollection >::insert(), edm::OneToValue< BasicClusterCollection, float, unsigned short >::insert(), edm::OneToManyWithQualityGeneric< TrackingParticleCollection, edm::View< reco::Track >, double >::insert(), and edm::AssociationMap< edm::OneToManyWithQualityGeneric< TrackingParticleCollection, edm::View< reco::Track >, double > >::operator[]().
{ if (rp.id() != r.id()) { Exception::throwThis(edm::errors::InvalidReference, "invalid reference"); } }