CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EventSetupTestHelper.h
Go to the documentation of this file.
1 #ifndef FWCore_TestProcessor_EventSetupTestHelper_h
2 #define FWCore_TestProcessor_EventSetupTestHelper_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/TestProcessor
6 // Class : EventSetupTestHelper
7 //
16 //
17 // Original Author: root
18 // Created: Tue, 08 May 2018 18:33:09 GMT
19 //
20 
21 // system include files
22 #include <vector>
23 
24 // user include files
27 
29 
30 // forward declarations
31 namespace edm {
32  namespace test {
33 
35  public:
36  EventSetupTestHelper(std::vector<ESProduceEntry>);
38  const EventSetupTestHelper& operator=(const EventSetupTestHelper&) = delete;
39 
40  std::shared_ptr<eventsetup::DataProxy> getProxy(unsigned int index);
41 
42  void resetAllProxies();
43 
44  protected:
46 
47  KeyedProxiesVector registerProxies(const eventsetup::EventSetupRecordKey&, unsigned int iovIndex) final;
48 
49  private:
50  // ---------- member data --------------------------------
51  std::vector<ESProduceEntry> proxies_;
52  };
53  } // namespace test
54 } // namespace edm
55 #endif
const EventSetupTestHelper & operator=(const EventSetupTestHelper &)=delete
void setIntervalFor(const eventsetup::EventSetupRecordKey &, const IOVSyncValue &, ValidityInterval &) final
std::vector< ESProduceEntry > proxies_
KeyedProxiesVector registerProxies(const eventsetup::EventSetupRecordKey &, unsigned int iovIndex) final
EventSetupTestHelper(std::vector< ESProduceEntry >)
std::shared_ptr< eventsetup::DataProxy > getProxy(unsigned int index)
std::vector< std::pair< DataKey, std::shared_ptr< DataProxy >>> KeyedProxiesVector