Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:00

0001 #include "FWCore/Framework/interface/ProducesCollector.h"
0002 
0003 namespace edm {
0004 
0005   ProducesCollector::ProducesCollector(ProducesCollector const& other) : helper_(get_underlying(other.helper_)) {}
0006 
0007   ProducesCollector& ProducesCollector::operator=(ProducesCollector const& other) {
0008     helper_ = get_underlying(other.helper_);
0009     return *this;
0010   }
0011 
0012   ProductRegistryHelper::BranchAliasSetter ProducesCollector::produces(const TypeID& id,
0013                                                                        std::string instanceName,
0014                                                                        bool recordProvenance) {
0015     return helper_->produces(id, std::move(instanceName), recordProvenance);
0016   }
0017 
0018   ProducesCollector::ProducesCollector(ProductRegistryHelper* helper) : helper_(helper) {}
0019 
0020 }  // namespace edm