FWCore
Framework
interface
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
{
12
class
ModuleProcessName
{
13
public
:
14
explicit
ModuleProcessName
(std::string_view
module
, std::string_view
process
)
15
:
moduleLabel_
{
module
},
processName_
{
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
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ModuleProcessName::moduleLabel
std::string_view moduleLabel() const
Definition:
ModuleProcessName.h:17
edm::operator<
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition:
DetSet.h:89
b
double b
Definition:
hdecay.h:118
a
double a
Definition:
hdecay.h:119
edm::ModuleProcessName::processName_
std::string_view processName_
Definition:
ModuleProcessName.h:22
LaserDQM_cfg.process
process
Definition:
LaserDQM_cfg.py:3
edm::ModuleProcessName::moduleLabel_
std::string_view moduleLabel_
Definition:
ModuleProcessName.h:21
callgraph.module
module
Definition:
callgraph.py:61
edm::ModuleProcessName
Definition:
ModuleProcessName.h:12
edm::ModuleProcessName::processName
std::string_view processName() const
Definition:
ModuleProcessName.h:18
edm::ModuleProcessName::ModuleProcessName
ModuleProcessName(std::string_view module, std::string_view process)
Definition:
ModuleProcessName.h:14
Generated for CMSSW Reference Manual by
1.8.16