1 #ifndef DataFormats_Common_Association_h 2 #define DataFormats_Common_Association_h 33 template<
typename RefKey>
35 return get(r.id(), r.key());
39 reference_type
get(
size_t rawIdx)
const {
115 template <
typename C>
void add(const Association< C > &association)
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
Association< C > operator+(const Association< C > &a1, const Association< C > &a2)
void setRef(const refprod_type &ref)
void swap(ValueMap &other)
Association< C > & operator+=(const Association< C > &o)
#define CMS_CLASS_VERSION(_version_)
const id_offset_vector & ids() const
meant to be used in AssociativeIterator, not by the ordinary user
Ref< typename refprod_type::product_type > reference_type
static void throwThis(Code category, char const *message0="", char const *message1="", char const *message2="", char const *message3="", char const *message4="")
size_t rawIndexOf(ProductID id, size_t idx) const
bool contains(ProductID id) const
std::vector< std::pair< ProductID, offset > > id_offset_vector
void swap(Association &other)
void add(const Association< C > &o)
void add(const ValueMap< T > &o)
void swap(RefProd< C > &)
reference_type operator[](const RefKey &r) const
bool contains(ProductID id) const
void throwIndexMapBound() const
ProductID id() const
Accessor for product ID.
edm::RefProd< C > refprod_type
Filler(Association< C > &association)
bool isNull() const
Checks for null.
helper::Filler< Association< C > > base
std::vector< std::pair< ProductID, offset > > id_offset_vector
meant to be used in AssociativeIterator, not by the ordinary user
Association & operator=(Association const &rhs)