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::BoolCacheStreamer Class Reference

#include <CacheStreamers.h>

Inheritance diagram for edm::BoolCacheStreamer:

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 ( )
inlineexplicit

Definition at line 21 of file CacheStreamers.h.

21 : 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.

9  {
10  if (R__b.IsReading()) {
11  cl_->ReadBuffer(R__b, objp);
12  BoolCache* obj = static_cast<BoolCache *>(objp);
13  *obj = false;
14  } else {
15  cl_->WriteBuffer(R__b, objp);
16  }
17  }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655

Member Data Documentation

TClassRef edm::BoolCacheStreamer::cl_
private

Definition at line 26 of file CacheStreamers.h.

Referenced by operator()().