1 #ifndef DataFormats_Common_FillView_h
2 #define DataFormats_Common_FillView_h
21 template<
typename C,
typename T,
typename F>
class RefVector;
22 template<
typename C,
typename T,
typename F>
class Ref;
29 template<
typename C,
typename T,
typename F>
34 template<
typename C,
typename T,
typename F,
typename T1,
typename F1>
47 template <
class COLLECTION>
51 std::vector<void const*>& ptrs,
54 typedef COLLECTION product_type;
56 typedef typename product_type::const_iterator
iter;
61 typename refhelper::ValueTrait<product_type>::value>
::value>
::type ref_type;
64 ptrs.reserve(ptrs.size() + coll.size());
67 for (iter
i = coll.begin(),
e = coll.end();
i!=
e; ++
i, ++
key) {
69 ptrs.push_back(address);
77 template <
class T,
class A>
81 std::vector<void const*>& ptrs,
87 template <
class T,
class A>
91 std::vector<void const*>& ptrs,
97 template <
class T,
class A>
101 std::vector<void const*>& ptrs,
107 template <
class T,
class A,
class Comp>
111 std::vector<void const*>& ptrs,
edm::Ref< Container > Ref
void fillView(AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper > const &obj, ProductID const &id, std::vector< void const * > &pointers, helper_vector &helpers)
static const element_type * address(const iter &i)
void reallyFillView(COLLECTION const &coll, ProductID const &id, std::vector< void const * > &ptrs, helper_vector &helpers)
virtual size_type size() const =0
COLLECTION::value_type element_type
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
refhelper::RefVectorTrait< C, T, F >::ref_type type
virtual void reserve(size_type n)=0
virtual void push_back(RefHolderBase const *r)=0
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
edm::RefVector< Container > RefVector