Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
FWCore
Framework
interface
EventSetupRecordKey.h
Go to the documentation of this file.
1
#ifndef Framework_EventSetupRecordKey_h
2
#define Framework_EventSetupRecordKey_h
3
// -*- C++ -*-
4
//
5
// Package: Framework
6
// Class : EventSetupRecordKey
7
//
16
//
17
// Author: Chris Jones
18
// Created: Fri Mar 25 15:19:21 EST 2005
19
//
20
21
// system include files
22
23
// user include files
24
#include "
FWCore/Framework/interface/HCTypeTag.h
"
25
#include "
FWCore/Framework/interface/HCMethods.h
"
26
27
// forward declarations
28
namespace
edm {
29
namespace
eventsetup {
30
class
EventSetupRecordKey
31
{
32
33
public
:
34
typedef
heterocontainer::HCTypeTag
TypeTag
;
35
36
EventSetupRecordKey
();
37
EventSetupRecordKey
(
const
TypeTag
& iType) :
38
type_
(iType) {}
39
40
//virtual ~EventSetupRecordKey();
41
42
// ---------- const member functions ---------------------
43
const
TypeTag
&
type
()
const
{
return
type_
;}
44
45
bool
operator<
(
const
EventSetupRecordKey
& iRHS)
const
{
46
return
type_
< iRHS.
type_
;
47
}
48
bool
operator==
(
const
EventSetupRecordKey
& iRHS)
const
{
49
return
type_
== iRHS.
type_
;
50
}
51
52
const
char
*
name
()
const
{
return
type
().
name
(); }
53
// ---------- static member functions --------------------
54
template
<
class
T>
55
static
EventSetupRecordKey
makeKey
() {
56
return
eventsetup::heterocontainer::makeKey<T,EventSetupRecordKey>();
57
}
58
59
// ---------- member functions ---------------------------
60
61
private
:
62
//EventSetupRecordKey(const EventSetupRecordKey&); // allow default
63
64
//const EventSetupRecordKey& operator=(const EventSetupRecordKey&); // allow default
65
66
// ---------- member data --------------------------------
67
TypeTag
type_
;
68
69
};
70
}
71
}
72
73
#endif
edm::eventsetup::heterocontainer::HCTypeTag::name
char const * name() const
Definition:
HCTypeTag.h:51
edm::eventsetup::EventSetupRecordKey::operator==
bool operator==(const EventSetupRecordKey &iRHS) const
Definition:
EventSetupRecordKey.h:48
edm::eventsetup::EventSetupRecordKey::type_
TypeTag type_
Definition:
EventSetupRecordKey.h:67
edm::eventsetup::EventSetupRecordKey::operator<
bool operator<(const EventSetupRecordKey &iRHS) const
Definition:
EventSetupRecordKey.h:45
edm::eventsetup::EventSetupRecordKey::EventSetupRecordKey
EventSetupRecordKey()
Definition:
EventSetupRecordKey.cc:32
HCMethods.h
HCTypeTag.h
edm::eventsetup::EventSetupRecordKey::name
const char * name() const
Definition:
EventSetupRecordKey.h:52
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
edm::eventsetup::EventSetupRecordKey::TypeTag
heterocontainer::HCTypeTag TypeTag
Definition:
EventSetupRecordKey.h:34
edm::eventsetup::EventSetupRecordKey::type
const TypeTag & type() const
Definition:
EventSetupRecordKey.h:43
edm::eventsetup::EventSetupRecordKey::makeKey
static EventSetupRecordKey makeKey()
Definition:
EventSetupRecordKey.h:55
edm::eventsetup::heterocontainer::HCTypeTag
Definition:
HCTypeTag.h:38
edm::eventsetup::EventSetupRecordKey::EventSetupRecordKey
EventSetupRecordKey(const TypeTag &iType)
Definition:
EventSetupRecordKey.h:37
Generated for CMSSW Reference Manual by
1.8.5