#include <IOPool/Common/interface/CustomStreamer.h>
Public Types | |
typedef T | element_type |
Public Member Functions | |
CustomStreamer () | |
void | operator() (TBuffer &R__b, void *objp) |
Private Attributes | |
TClassRef | cl_ |
std::string | className_ |
Definition at line 12 of file CustomStreamer.h.
typedef T edm::CustomStreamer< T >::element_type |
Definition at line 14 of file CustomStreamer.h.
edm::CustomStreamer< T >::CustomStreamer | ( | ) | [inline] |
Definition at line 23 of file CustomStreamer.h.
00023 : 00024 className_(TypeID(typeid(T)).className()), 00025 cl_(className_.c_str()) 00026 {}
void edm::CustomStreamer< T >::operator() | ( | TBuffer & | R__b, | |
void * | objp | |||
) | [inline] |
Definition at line 30 of file CustomStreamer.h.
References edm::CustomStreamer< T >::cl_.
00030 { 00031 if (R__b.IsReading()) { 00032 cl_->ReadBuffer(R__b, objp); 00033 } else { 00034 cl_->WriteBuffer(R__b, objp); 00035 } 00036 }
TClassRef edm::CustomStreamer< T >::cl_ [private] |
Definition at line 19 of file CustomStreamer.h.
Referenced by edm::CustomStreamer< T >::operator()().
std::string edm::CustomStreamer< T >::className_ [private] |
Definition at line 18 of file CustomStreamer.h.