CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

edm::BoolCache::BoolCache ( )
inline

Definition at line 30 of file BoolCache.h.

30 : isCached_(false) {}
bool isCached_
Definition: BoolCache.h:39
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

edm::BoolCache::operator bool ( )
inline

Definition at line 32 of file BoolCache.h.

References isCached_.

32 { return isCached_; }
bool isCached_
Definition: BoolCache.h:39
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:118

Member Data Documentation

bool edm::BoolCache::isCached_
private

Definition at line 39 of file BoolCache.h.

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