Main Page
Namespaces
Classes
Package Documentation
DataFormats
Common
interface
BoolCache.h
Go to the documentation of this file.
1
#ifndef DataFormats_Common_BoolCache_h
2
#define DataFormats_Common_BoolCache_h
3
// -*- C++ -*-
4
//
5
// Package: Common
6
// Class : BoolCache
7
//
17
//
18
// Original Author: Chris Jones
19
// Created: Sat Aug 18 17:30:08 EDT 2007
20
//
21
22
// system include files
23
24
// user include files
25
26
// forward declarations
27
namespace
edm
{
28
class
BoolCache
{
29
public
:
30
BoolCache
() :
isCached_
(
false
) {}
31
BoolCache
(
bool
iValue) :
isCached_
(iValue) {}
32
operator
bool
() {
return
isCached_
; }
33
BoolCache
&
operator=
(
bool
b
) {
isCached_
=
b
;
return
*
this
; }
34
private
:
35
bool
isCached_
;
36
};
37
38
}
39
#endif
edm::BoolCache::BoolCache
BoolCache(bool iValue)
Definition:
BoolCache.h:31
edm::BoolCache::BoolCache
BoolCache()
Definition:
BoolCache.h:30
funct::false
false
Definition:
Factorize.h:36
electrons_cff.bool
bool
Definition:
electrons_cff.py:359
edm::BoolCache::isCached_
bool isCached_
Definition:
BoolCache.h:35
b
double b
Definition:
hdecay.h:120
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::BoolCache
Definition:
BoolCache.h:28
edm::BoolCache::operator=
BoolCache & operator=(bool b)
Definition:
BoolCache.h:33
Generated for CMSSW Reference Manual by
1.8.11