CMS 3D CMS Logo

RecordDependencyRegister.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_RecordDependencyRegister_h
2 #define FWCore_Framework_RecordDependencyRegister_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Framework
6 // Class : RecordDependencyRegister
7 //
16 //
17 // Original Author: root
18 // Created: Thu, 26 Apr 2018 15:46:36 GMT
19 //
20 
21 // system include files
22 #include <set>
23 
24 // user include files
27 
28 // forward declarations
29 
30 namespace edm {
31  namespace eventsetup {
32  using DepFunction = std::set<EventSetupRecordKey> (*)();
33 
34  std::set<EventSetupRecordKey> dependencies(EventSetupRecordKey const&);
35 
37 
38  template <typename T>
41  addDependencyFunction(EventSetupRecordKey::makeKey<T>(), &findDependentRecordsFor<T>);
42  }
43  };
44  } // namespace eventsetup
45 } // namespace edm
46 
47 #endif
std::set< EventSetupRecordKey >(*)( DepFunction)
std::set< EventSetupRecordKey > dependencies(EventSetupRecordKey const &)
void addDependencyFunction(EventSetupRecordKey iKey, DepFunction iFunction)
HLT enums.