CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::BoolCache Class Reference

#include <BoolCache.h>

Public Member Functions

 BoolCache ()
 
 BoolCache (bool iValue)
 
 operator bool ()
 
BoolCacheoperator= (bool b)
 

Private Attributes

bool isCached_
 

Detailed Description

Definition at line 28 of file BoolCache.h.

Constructor & Destructor Documentation

◆ BoolCache() [1/2]

edm::BoolCache::BoolCache ( )
inline

Definition at line 30 of file BoolCache.h.

30 : isCached_(false) {}
bool isCached_
Definition: BoolCache.h:39

◆ BoolCache() [2/2]

edm::BoolCache::BoolCache ( bool  iValue)
inline

Definition at line 31 of file BoolCache.h.

31 : isCached_(iValue) {}
bool isCached_
Definition: BoolCache.h:39

Member Function Documentation

◆ operator bool()

edm::BoolCache::operator bool ( )
inline

Definition at line 32 of file BoolCache.h.

References isCached_.

32 { return isCached_; }
bool isCached_
Definition: BoolCache.h:39

◆ operator=()

BoolCache& edm::BoolCache::operator= ( bool  b)
inline

Definition at line 33 of file BoolCache.h.

References b, and isCached_.

33  {
34  isCached_ = b;
35  return *this;
36  }
bool isCached_
Definition: BoolCache.h:39
double b
Definition: hdecay.h:120

Member Data Documentation

◆ isCached_

bool edm::BoolCache::isCached_
private

Definition at line 39 of file BoolCache.h.

Referenced by operator bool(), and operator=().