FWCore
Utilities
interface
ProcessBlockIndex.h
Go to the documentation of this file.
1
#ifndef FWCore_Utilities_ProcessBlockIndex_h
2
#define FWCore_Utilities_ProcessBlockIndex_h
3
// -*- C++ -*-
4
//
5
// Package: FWCore/Utilities
6
// Class : edm::ProcessBlockIndex
7
//
14
//
15
// Original Author: W. David Dagenhart
16
// Created: 18 March 2020
17
18
namespace
edm
{
19
class
ProcessBlockPrincipal;
20
21
class
ProcessBlockIndex
{
22
public
:
23
ProcessBlockIndex
() =
delete
;
24
~ProcessBlockIndex
() =
default
;
25
ProcessBlockIndex
(
const
ProcessBlockIndex
&) =
default
;
26
ProcessBlockIndex
&
operator=
(
const
ProcessBlockIndex
&) =
default
;
27
28
bool
operator==
(
const
ProcessBlockIndex
& iIndex)
const
{
return
value
() == iIndex.
value
(); }
29
operator
unsigned
int
()
const
{
return
value_
; }
30
31
unsigned
int
value
()
const
{
return
value_
; }
32
33
static
ProcessBlockIndex
invalidProcessBlockIndex
();
34
35
private
:
37
friend
class
ProcessBlockPrincipal
;
38
explicit
ProcessBlockIndex
(
unsigned
int
iIndex) :
value_
(iIndex) {}
39
40
unsigned
int
value_
;
41
42
static
const
unsigned
int
invalidValue_
;
43
};
44
}
// namespace edm
45
46
#endif
edm::ProcessBlockIndex::ProcessBlockIndex
ProcessBlockIndex(unsigned int iIndex)
Definition:
ProcessBlockIndex.h:38
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ProcessBlockPrincipal
Definition:
ProcessBlockPrincipal.h:22
edm::ProcessBlockIndex::invalidValue_
static const unsigned int invalidValue_
Definition:
ProcessBlockIndex.h:42
edm::ProcessBlockIndex::value_
unsigned int value_
Definition:
ProcessBlockIndex.h:40
edm::ProcessBlockIndex::invalidProcessBlockIndex
static ProcessBlockIndex invalidProcessBlockIndex()
Definition:
ProcessBlockIndex.cc:9
edm::ProcessBlockIndex::operator==
bool operator==(const ProcessBlockIndex &iIndex) const
Definition:
ProcessBlockIndex.h:28
createfilelist.int
int
Definition:
createfilelist.py:10
edm::ProcessBlockIndex::operator=
ProcessBlockIndex & operator=(const ProcessBlockIndex &)=default
edm::ProcessBlockIndex
Definition:
ProcessBlockIndex.h:21
edm::ProcessBlockIndex::value
unsigned int value() const
Definition:
ProcessBlockIndex.h:31
edm::ProcessBlockIndex::ProcessBlockIndex
ProcessBlockIndex()=delete
edm::ProcessBlockIndex::~ProcessBlockIndex
~ProcessBlockIndex()=default
Generated for CMSSW Reference Manual by
1.8.16