Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
) {
34
isCached_
=
b
;
35
return
*
this
;
36
}
37
38
private
:
39
bool
isCached_
;
40
};
41
42
}
// namespace edm
43
#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:29
edm::BoolCache::isCached_
bool isCached_
Definition:
BoolCache.h:39
b
double b
Definition:
hdecay.h:118
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.5