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

#include <CacheStreamers.h>

Inheritance diagram for edm::ConstPtrCacheStreamer:

Public Member Functions

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

Private Attributes

TClassRef cl_
 

Detailed Description

Definition at line 9 of file CacheStreamers.h.

Constructor & Destructor Documentation

edm::ConstPtrCacheStreamer::ConstPtrCacheStreamer ( )
inlineexplicit

Definition at line 11 of file CacheStreamers.h.

11 : cl_("edm::ConstPtrCache"){}

Member Function Documentation

void edm::ConstPtrCacheStreamer::operator() ( TBuffer &  R__b,
void *  objp 
)

Definition at line 20 of file CacheStreamers.cc.

References cl_, VarParsing::obj, and edm::ConstPtrCache::ptr_.

20  {
21  if (R__b.IsReading()) {
22  cl_->ReadBuffer(R__b, objp);
23  ConstPtrCache* obj = static_cast<ConstPtrCache *>(objp);
24  obj->ptr_=0;
25  } else {
26  cl_->WriteBuffer(R__b, objp);
27  }
28  }
tuple obj
Example code starts here #.
Definition: VarParsing.py:655

Member Data Documentation

TClassRef edm::ConstPtrCacheStreamer::cl_
private

Definition at line 16 of file CacheStreamers.h.

Referenced by operator()().