CMS 3D CMS Logo

edm::BoolCacheStreamer Class Reference

#include <DataFormats/Common/interface/CacheStreamers.h>

List of all members.

Public Member Functions

 BoolCacheStreamer ()
void operator() (TBuffer &R__b, void *objp)

Private Attributes

TClassRef cl_


Detailed Description

Definition at line 19 of file CacheStreamers.h.


Constructor & Destructor Documentation

edm::BoolCacheStreamer::BoolCacheStreamer (  )  [inline, explicit]

Definition at line 21 of file CacheStreamers.h.

00021 : cl_("edm::BoolCache"){}


Member Function Documentation

void edm::BoolCacheStreamer::operator() ( TBuffer &  R__b,
void objp 
)

Definition at line 9 of file CacheStreamers.cc.

References cl_, and VarParsing::obj.

00009                                                          {
00010     if (R__b.IsReading()) {
00011       cl_->ReadBuffer(R__b, objp);
00012       BoolCache* obj = static_cast<BoolCache *>(objp);
00013       *obj = false;
00014     } else {
00015       cl_->WriteBuffer(R__b, objp);
00016     }
00017   }


Member Data Documentation

TClassRef edm::BoolCacheStreamer::cl_ [private]

Definition at line 26 of file CacheStreamers.h.

Referenced by operator()().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:39:39 2009 for CMSSW by  doxygen 1.5.4