1 #ifndef Framework_PrincipalGetAdapter_h
2 #define Framework_PrincipalGetAdapter_h
106 namespace principal_get_adapter_detail {
108 void operator()(std::pair<WrapperOwningHolder, ConstBranchDescription const*>
const p)
const;
122 template <
typename PROD>
126 template <
typename PROD>
130 template <
typename PROD>
133 std::string
const& productInstanceName,
137 template <
typename PROD>
141 template <
typename PROD>
145 template <
typename PROD>
149 template <
typename PROD>
176 std::string
const& label,
177 std::string
const& productInstanceName,
178 std::string
const& processName)
const;
202 std::string
const& label,
203 std::string
const& productInstanceName,
208 std::string
const& label,
209 std::string
const& productInstanceName,
210 std::string
const& processName,
241 template <
typename PROD>
244 operator<<(std::ostream& os, Handle<PROD>
const&
h) {
245 os <<
h.product() <<
" " <<
h.provenance() <<
" " <<
h.id();
265 typedef char (&
no_tag)[1];
278 sizeof(has_postinsert_helper<T>(0)) ==
sizeof(
yes_tag) &&
286 template <
typename T>
300 template <
typename T>
305 template <
typename T>
314 template <
typename PROD>
328 template <
typename PROD>
334 return getByLabel(label, std::string(), result);
337 template <
typename PROD>
350 template <
typename PROD>
354 std::string
const& productInstanceName,
365 template <
typename PROD>
385 std::vector<Handle<PROD> >
products;
387 typename BasicHandleVec::const_iterator it = bhv.begin();
388 typename BasicHandleVec::const_iterator
end = bhv.end();
393 products.push_back(result);
399 template <
typename PROD>
412 template <
typename PROD>
431 std::vector<Handle<PROD> >
products;
433 typename BasicHandleVec::const_iterator it = bhv.begin();
434 typename BasicHandleVec::const_iterator
end = bhv.end();
439 products.push_back(result);
ProcessHistory const & processHistory() const
BasicHandle getByType_(TypeID const &tid) const
bool getByLabel(std::string const &label, Handle< PROD > &result) const
PrincipalGetAdapter const & operator=(PrincipalGetAdapter const &)
void operator()(T *p) const
Principal const & principal() const
void getManyByType_(TypeID const &tid, BasicHandleVec &results) const
PrincipalGetAdapter(Principal &pcpl, ModuleDescription const &md)
int getMatchingSequence_(TypeID const &typeID, SelectorBase const &selector, BasicHandle &result) const
no_tag has_postinsert_helper(...)
int getMatchingSequenceByLabel_(TypeID const &typeID, std::string const &label, std::string const &productInstanceName, BasicHandle &result) const
void getManyByType(std::vector< Handle< PROD > > &results) const
BranchType const & branchType() const
EDProductGetter const * prodGetter() const
void operator()(std::pair< WrapperOwningHolder, ConstBranchDescription const * > const p) const
ESProducts< T, S > products(const T &i1, const S &i2)
void getMany_(TypeID const &tid, SelectorBase const &sel, BasicHandleVec &results) const
void getMany(SelectorBase const &, std::vector< Handle< PROD > > &results) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
bool get(SelectorBase const &, Handle< PROD > &result) const
void convert_handle(BasicHandle const &bh, Handle< T > &result)
BasicHandle getByLabel_(TypeID const &tid, std::string const &label, std::string const &productInstanceName, std::string const &processName) const
void operator()(T *) const
BasicHandle get_(TypeID const &tid, SelectorBase const &) const
ModuleDescription const & md_
void throwOnPutOfNullProduct(char const *principalType, TypeID const &productType, std::string const &productInstanceName)
ConstBranchDescription const & getBranchDescription(TypeID const &type, std::string const &productInstanceName) const
std::vector< BasicHandle > BasicHandleVec
bool getByType(Handle< PROD > &result) const