1 #ifndef FWCore_Framework_GenericHandle_h
2 #define FWCore_Framework_GenericHandle_h
51 "Handle<GenericObject> told to use uknown type '",
53 "'.\n Please check spelling or that a module uses this type in the job.");
99 return prod_ && 0!=
prov_;
121 void setWhyFailed(boost::shared_ptr<cms::Exception>
const& iWhyFailed) {
ObjectWithDict const & operator*() const
Handle(Handle< GenericObject > const &h)
Provenance const * provenance() const
Handle(ObjectWithDict const &prod, Provenance const *prov, ProductID const &)
Handle(std::string const &iName)
Throws exception if iName is not a known C++ class type.
ObjectWithDict const * operator->() const
static void throwThis(Code category, char const *message0="", char const *message1="", char const *message2="", char const *message3="", char const *message4="")
boost::shared_ptr< cms::Exception > whyFailed_
TypeWithDict const & type() const
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
ObjectWithDict const * product() const
Handle< GenericObject > GenericHandle
void setWhyFailed(boost::shared_ptr< cms::Exception > const &iWhyFailed)
Handle< GenericObject > & operator=(Handle< GenericObject > const &rhs)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void swap(HandleBase &other)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Handle(TypeWithDict const &iType)
Throws exception if iType is invalid.
void convert_handle(BasicHandle const &bh, Handle< T > &result)
void swap(Handle< GenericObject > &other)
This class is just a 'tag' used to allow a specialization of edm::Handle.
T const * product() const
ProductID const & productID() const
boost::shared_ptr< cms::Exception > whyFailed_