1 #ifndef Fireworks_FWGenericHandle_h
2 #define Fireworks_FWGenericHandle_h
38 #include "Reflex/Object.h"
56 type_(Reflex::
Type::ByName(iName)), prod_(),
prov_(0) {
59 "Handle<FWGenericObject> told to use uknown type '",
61 "'.\n Please check spelling or that a module uses this type in the job.");
63 if(type_.IsTypedef()){
67 type_ = type_.ToType();
73 type_(iType), prod_(),
prov_(0) {
77 if(type_.IsTypedef()){
81 type_ = type_.ToType();
122 return prod_ && 0!=
prov_;
144 void setWhyFailed(boost::shared_ptr<cms::Exception>
const& iWhyFailed) {
void swap(Handle< FWGenericObject > &other)
static void throwThis(Code category, char const *message0="", char const *message1="", char const *message2="", char const *message3="", char const *message4="")
bool getByLabel(const InputTag &, Handle< T > &) const
boost::shared_ptr< cms::Exception > whyFailed_
void convert_handle(BasicHandle const &orig, Handle< T > &result)
Reflex::Type const & type() const
Handle< FWGenericObject > & operator=(Handle< FWGenericObject > const &rhs)
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
Provenance const * provenance() const
Reflex::Object const * operator->() const
This class is just a 'tag' used to allow a specialization of edm::Handle.
Handle(std::string const &iName)
Throws exception if iName is not a known C++ class type.
void swap(HandleBase &other)
Reflex::Object const & operator*() const
void setWhyFailed(boost::shared_ptr< cms::Exception > const &iWhyFailed)
Handle(Reflex::Type const &iType)
Throws exception if iType is invalid.
T const * product() const
boost::shared_ptr< cms::Exception > whyFailed_
Handle(Handle< FWGenericObject > const &h)
Handle(Reflex::Object const &prod, Provenance const *prov, ProductID const &pid)
Handle< FWGenericObject > FWGenericHandle
ProductID const & productID() const
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Reflex::Object const * product() const