CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::BoolCache Class Reference

#include <BoolCache.h>

List of all members.

Public Member Functions

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

Private Attributes

bool isCached_

Detailed Description

Definition at line 29 of file BoolCache.h.


Constructor & Destructor Documentation

edm::BoolCache::BoolCache ( ) [inline]

Definition at line 31 of file BoolCache.h.

: isCached_(false) {}
edm::BoolCache::BoolCache ( bool  iValue) [inline]

Definition at line 32 of file BoolCache.h.

: isCached_(iValue) {}

Member Function Documentation

edm::BoolCache::operator bool ( ) [inline]

Definition at line 33 of file BoolCache.h.

References isCached_.

{ return isCached_; }
BoolCache& edm::BoolCache::operator= ( bool  b) [inline]

Definition at line 34 of file BoolCache.h.

References b, and isCached_.

{ isCached_ = b; return *this; }

Member Data Documentation

bool edm::BoolCache::isCached_ [private]

Definition at line 36 of file BoolCache.h.

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