#include <IOPool/Streamer/interface/Utilities.h>
Public Member Functions | |
EventExtractor (EventBuffer &b) | |
std::auto_ptr< EventPrincipal > | extract () |
Private Attributes | |
EventBuffer * | buf_ |
Definition at line 84 of file Utilities.h.
edm::EventExtractor::EventExtractor | ( | EventBuffer & | b | ) | [inline, explicit] |
Definition at line 87 of file Utilities.h.
00087 : explicit EventExtractor(EventBuffer& b):buf_(&b) { }
std::auto_ptr<EventPrincipal> edm::EventExtractor::extract | ( | ) | [inline] |
Definition at line 88 of file Utilities.h.
00088 :buf_(&b) { } 00089 std::auto_ptr<EventPrincipal> extract() 00090 { 00091 EventBuffer::ConsumerBuffer b(*buf_); 00092 FDEBUG(2) << "Extract: " << b.buffer() << " " << b.size() << std::endl; 00093 std::auto_ptr<EventPrincipal> p(*(EventPrincipal**)b.buffer()); 00094 FDEBUG(2) << "Extract: event ptr = " << (void*)p.get() << std::endl; 00095 return p;
EventBuffer* edm::EventExtractor::buf_ [private] |
Definition at line 97 of file Utilities.h.