|
void | _throw_range (det_id_type i) |
|
template<typename T > |
no_tag | has_isProductEqual_helper (...) |
|
template<typename T > |
yes_tag | has_isProductEqual_helper (isProductEqual_function< T,&T::isProductEqual > *dummy) |
|
template<typename T > |
no_tag | has_mergeProduct_helper (...) |
|
template<typename T > |
yes_tag | has_mergeProduct_helper (mergeProduct_function< T,&T::mergeProduct > *dummy) |
|
template<typename T > |
no_tag | has_postinsert_helper (...) |
|
template<typename T > |
yes_tag | has_postinsert_helper (postinsert_function< T,&T::post_insert > *p) |
|
template<typename T > |
no_tag | has_swap_helper (...) |
|
template<typename T > |
yes_tag | has_swap_helper (swap_function< T,&T::swap > *dummy) |
|
std::string const & | InvalidHash () |
|
bool | isnan (float x) |
|
bool | isnan (double x) |
|
bool | isnan (long double x) |
|
template<typename T , typename E > |
std::ostream & | operator<< (std::ostream &os, ThreadSafeIndexedRegistry< T, E > const ®) |
|
template<typename KEY , typename T , typename E > |
std::ostream & | operator<< (std::ostream &os, ThreadSafeRegistry< KEY, T, E > const ®) |
|
template<class COLLECTION > |
void | reallyfillPtrVector (COLLECTION const &coll, const std::type_info &iToType, const std::vector< unsigned long > &iIndicies, std::vector< void const * > &oPtr) |
|
template<class COLLECTION > |
void | reallyFillView (COLLECTION const &coll, ProductID const &id, std::vector< void const * > &ptrs, helper_vector &helpers) |
|
template<class COLLECTION > |
void | reallySetPtr (COLLECTION const &coll, const std::type_info &iToType, unsigned long iIndex, void const *&oPtr) |
|
template<class COLLECTION >
void edm::detail::reallyfillPtrVector |
( |
COLLECTION const & |
coll, |
|
|
const std::type_info & |
iToType, |
|
|
const std::vector< unsigned long > & |
iIndicies, |
|
|
std::vector< void const * > & |
oPtr |
|
) |
| |
Definition at line 36 of file fillPtrVector.h.
References edm::detail::GetProduct< COLLECTION >::address(), edm::errors::LogicError, AlCaRecoCosmics_cfg::name, VarParsing::obj, and edm::Exception::throwThis().
Referenced by edm::fillPtrVector(), edm::SortedCollection< T, SORT >::fillPtrVector(), and edm::OwnVector< T, P >::fillPtrVector().
41 typedef COLLECTION product_type;
43 typedef typename product_type::const_iterator iter;
46 oPtr.reserve(iIndicies.size());
47 if(iToType ==
typeid(element_type)) {
48 for(std::vector<unsigned long>::const_iterator itIndex=iIndicies.begin(),
49 itEnd = iIndicies.end();
52 iter it =
coll.begin();
53 std::advance(it,*itIndex);
55 oPtr.push_back(address);
60 static const Type s_type(Type::ByTypeInfo(
typeid(element_type)));
61 Type toType=Type::ByTypeInfo(iToType);
63 for(std::vector<unsigned long>::const_iterator itIndex=iIndicies.begin(),
64 itEnd = iIndicies.end();
67 iter it =
coll.begin();
68 std::advance(it,*itIndex);
74 Object
obj(s_type, const_cast<void*>(static_cast<const void*>(address)));
75 Object cast =
obj.CastObject(toType);
76 if(0 != cast.Address()) {
77 oPtr.push_back(cast.Address());
80 "TypeConversionError "
81 "edm::PtrVector<> : unable to convert type ",
82 typeid(element_type).
name(),
tuple obj
Example code starts here #.
template<class COLLECTION >
void edm::detail::reallyFillView |
( |
COLLECTION const & |
coll, |
|
|
ProductID const & |
id, |
|
|
std::vector< void const * > & |
ptrs, |
|
|
helper_vector & |
helpers |
|
) |
| |
Definition at line 49 of file FillView.h.
References edm::detail::GetProduct< COLLECTION >::address(), ExpressReco_HICollisions_FallBack::e, h, i, combine::key, edm::reftobase::RefVectorHolderBase::push_back(), edm::reftobase::RefVectorHolderBase::reserve(), edm::reftobase::RefVectorHolderBase::size(), and relativeConstraints::value.
Referenced by edm::fillView(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::fillView(), edm::SortedCollection< T, SORT >::fillView(), edm::DetSetVector< T >::fillView(), edm::reftobase::RefVectorHolder< REFV >::reallyFillView(), edm::reftobase::RefVectorHolderDoFillView< REFV >::reallyFillView(), and edm::RefToBaseProd< T >::RefToBaseProd().
54 typedef COLLECTION product_type;
56 typedef typename product_type::const_iterator iter;
58 typedef typename FillViewRefTypeTrait<product_type,
60 typename refhelper::FindTrait<product_type,
61 typename refhelper::ValueTrait<product_type>::value>
::value>
::type ref_type;
62 typedef reftobase::RefHolder<ref_type> holder_type;
64 ptrs.reserve(ptrs.size() +
coll.size());
65 helpers.reserve(helpers.size() +
coll.size());
69 ptrs.push_back(address);
72 helpers.push_back(&
h);
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.