CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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:35
edm::BoolCache::BoolCache ( bool  iValue)
inline

Definition at line 31 of file BoolCache.h.

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

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:35
BoolCache& edm::BoolCache::operator= ( bool  b)
inline

Definition at line 33 of file BoolCache.h.

References b, and isCached_.

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

Member Data Documentation

bool edm::BoolCache::isCached_
private

Definition at line 35 of file BoolCache.h.

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