Public Member Functions | Private Attributes | List of all members
art::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 30 of file BoolCache.h.

Constructor & Destructor Documentation

art::BoolCache::BoolCache ( )
inline

Definition at line 32 of file BoolCache.h.

32 : isCached_(false) {}
bool isCached_
Definition: BoolCache.h:44
art::BoolCache::BoolCache ( bool  iValue)
inline

Definition at line 33 of file BoolCache.h.

33 : isCached_(iValue) {}
bool isCached_
Definition: BoolCache.h:44

Member Function Documentation

art::BoolCache::operator bool ( )
inline

Definition at line 34 of file BoolCache.h.

34 { return isCached_; }
bool isCached_
Definition: BoolCache.h:44
BoolCache& art::BoolCache::operator= ( bool  b)
inline

Definition at line 37 of file BoolCache.h.

38  {
39  isCached_ = b;
40  return *this;
41  }
bool isCached_
Definition: BoolCache.h:44
static bool * b
Definition: config.cpp:1043

Member Data Documentation

bool art::BoolCache::isCached_
private

Definition at line 44 of file BoolCache.h.


The documentation for this class was generated from the following file: