CMS 3D CMS Logo

EDProducerBase.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: FWCore/Framework
4 // Class : edm::stream::EDProducerBase
5 //
6 // Implementation:
7 // [Notes on implementation]
8 //
9 // Original Author: Chris Jones
10 // Created: Fri, 02 Aug 2013 23:49:57 GMT
11 //
12 
13 // system include files
14 
15 // user include files
18 
21 
22 using namespace edm::stream;
23 //
24 // constants, enums and typedefs
25 //
26 
27 //
28 // static data member definitions
29 //
30 
31 //
32 // constructors and destructor
33 //
34 EDProducerBase::EDProducerBase() : moduleDescriptionPtr_(nullptr) {}
35 
36 // EDProducerBase::EDProducerBase(const EDProducerBase& rhs)
37 // {
38 // // do actual copying here;
39 // }
40 
42 
43 //
44 // assignment operators
45 //
46 // const EDProducerBase& EDProducerBase::operator=(const EDProducerBase& rhs)
47 // {
48 // //An exception safe implementation is
49 // EDProducerBase temp(rhs);
50 // swap(rhs);
51 //
52 // return *this;
53 // }
54 
55 //
56 // member functions
57 //
58 
59 //
60 // const member functions
61 //
62 
63 //
64 // static member functions
65 //
68  desc.setUnknown();
69  descriptions.addDefault(desc);
70 }
71 
72 size_t EDProducerBase::transformIndex_(edm::BranchDescription const& iBranch) const { return -1; }
73 edm::ProductResolverIndex EDProducerBase::transformPrefetch_(std::size_t iIndex) const { return 0; }
75  std::size_t iIndex,
78  ServiceWeakToken const& iToken) const {}
79 
81 
82 static const std::string kBaseType("EDProducer");
83 
unsigned int ProductResolverIndex
virtual ProductResolverIndex transformPrefetch_(std::size_t iIndex) const
static void prevalidate(ConfigurationDescriptions &descriptions)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
static const std::string & baseType()
int iEvent
Definition: GenABIO.cc:224
void addDefault(ParameterSetDescription const &psetDescription)
void edmodule_mightGet_config(ConfigurationDescriptions &iDesc)
virtual size_t transformIndex_(edm::BranchDescription const &iBranch) const
virtual void transformAsync_(WaitingTaskHolder iTask, std::size_t iIndex, edm::EventForTransformer &iEvent, edm::ActivityRegistry *iAct, ServiceWeakToken const &iToken) const
static std::string const kBaseType("Source")