CMS 3D CMS Logo

ModuleProcessName.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_ModuleProcessName_h
2 #define FWCore_Framework_ModuleProcessName_h
3 
4 #include <string_view>
5 
6 namespace edm {
13  public:
14  explicit ModuleProcessName(std::string_view module, std::string_view process)
16 
17  std::string_view moduleLabel() const { return moduleLabel_; }
18  std::string_view processName() const { return processName_; }
19 
20  private:
21  std::string_view moduleLabel_;
22  std::string_view processName_;
23  };
24 
25  inline bool operator<(ModuleProcessName const& a, ModuleProcessName const& b) {
26  return a.processName() == b.processName() ? a.moduleLabel() < b.moduleLabel() : a.processName() < b.processName();
27  }
28 } // namespace edm
29 
30 #endif
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition: DetSet.h:89
std::string_view moduleLabel() const
std::string_view moduleLabel_
std::string_view processName_
ModuleProcessName(std::string_view module, std::string_view process)
double b
Definition: hdecay.h:120
std::string_view processName() const
HLT enums.
double a
Definition: hdecay.h:121