Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
FWCore
Framework
interface
ComponentDescription.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_ComponentDescription_h
2
#define FWCore_Framework_ComponentDescription_h
3
// -*- C++ -*-
4
//
5
// Package: Framework
6
// Class : ComponentDescription
7
//
16
//
17
// Original Author: Chris Jones
18
// Created: Thu Dec 15 14:07:57 EST 2005
19
//
20
21
// user include files
22
#include "
DataFormats/Provenance/interface/ParameterSetID.h
"
23
24
// system include files
25
#include <string>
26
27
// forward declarations
28
namespace
edm {
29
namespace
eventsetup {
30
struct
ComponentDescription
{
31
std::string
label_
;
// A human friendly string that uniquely identifies the label
32
std::string
type_
;
// A human friendly string that uniquely identifies the name
33
bool
isSource_
;
34
bool
isLooper_
;
35
36
// ID of parameter set of the creator
37
ParameterSetID
pid_
;
38
39
/* ----------- end of provenance information ------------- */
40
41
ComponentDescription
() :
42
label_
(),
43
type_
(),
44
isSource_
(
false
),
45
isLooper_
(
false
),
46
pid_
() {}
47
48
ComponentDescription
(
std::string
const
& iType,
49
std::string
const
& iLabel,
50
bool
iIsSource,
51
bool
iIsLooper =
false
) :
52
label_
(iLabel),
53
type_
(iType),
54
isSource_
(iIsSource),
55
isLooper_
(iIsLooper),
56
pid_
() {}
57
58
bool
operator<
(
ComponentDescription
const
& iRHS)
const
{
59
return
(
type_
== iRHS.
type_
) ? (
label_
< iRHS.
label_
) : (
type_
<iRHS.
type_
);
60
}
61
bool
operator==
(
ComponentDescription
const
& iRHS)
const
{
62
return
label_
== iRHS.
label_
&&
63
type_
== iRHS.
type_
&&
64
isSource_
== iRHS.
isSource_
;
65
}
66
};
67
}
68
}
69
#endif
edm::eventsetup::ComponentDescription::label_
std::string label_
Definition:
ComponentDescription.h:31
edm::eventsetup::ComponentDescription::isSource_
bool isSource_
Definition:
ComponentDescription.h:33
edm::eventsetup::ComponentDescription::ComponentDescription
ComponentDescription()
Definition:
ComponentDescription.h:41
edm::Hash< ParameterSetType >
edm::eventsetup::ComponentDescription::pid_
ParameterSetID pid_
Definition:
ComponentDescription.h:37
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
edm::eventsetup::ComponentDescription::operator==
bool operator==(ComponentDescription const &iRHS) const
Definition:
ComponentDescription.h:61
edm::eventsetup::ComponentDescription::isLooper_
bool isLooper_
Definition:
ComponentDescription.h:34
ParameterSetID.h
edm::eventsetup::ComponentDescription::ComponentDescription
ComponentDescription(std::string const &iType, std::string const &iLabel, bool iIsSource, bool iIsLooper=false)
Definition:
ComponentDescription.h:48
edm::eventsetup::ComponentDescription::type_
std::string type_
Definition:
ComponentDescription.h:32
edm::false
volatile std::atomic< bool > shutdown_flag false
Definition:
UnixSignalHandlers.cc:22
edm::eventsetup::ComponentDescription
Definition:
ComponentDescription.h:30
edm::eventsetup::ComponentDescription::operator<
bool operator<(ComponentDescription const &iRHS) const
Definition:
ComponentDescription.h:58
Generated for CMSSW Reference Manual by
1.8.5