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) {}

◆ BoolCache() [2/2]

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

Definition at line 31 of file BoolCache.h.

31 : isCached_(iValue) {}

Member Function Documentation

◆ operator bool()

edm::BoolCache::operator bool ( )
inline

Definition at line 32 of file BoolCache.h.

32 { return isCached_; }

References isCached_.

◆ operator=()

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

Definition at line 33 of file BoolCache.h.

33  {
34  isCached_ = b;
35  return *this;
36  }

References b, and isCached_.

Member Data Documentation

◆ isCached_

bool edm::BoolCache::isCached_
private

Definition at line 39 of file BoolCache.h.

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

edm::BoolCache::isCached_
bool isCached_
Definition: BoolCache.h:39
b
double b
Definition: hdecay.h:118