#include <StreamerFileIO.h>
Public Member Functions | |
uint32 | adler32 () const |
void | close () |
uint64 | current_offset () const |
std::string | fileName () const |
OutputFile (const std::string &name) | |
void | set_current_offset (uint64 v) |
void | set_do_adler (bool v) |
bool | write (const char *ptr, size_t n) |
~OutputFile () | |
Private Attributes | |
uint32 | adlera_ |
uint32 | adlerb_ |
uint64 | current_offset_ |
bool | do_adler_ |
std::string | filename_ |
edm::propagate_const< std::shared_ptr< std::ofstream > > | ost_ |
Class representing Output (Streamer) file.
Definition at line 17 of file StreamerFileIO.h.
|
explicit |
Definition at line 8 of file StreamerFileIO.cc.
References Exception, Skims_PA_cff::name, and ost_.
edm::streamer::OutputFile::~OutputFile | ( | ) |
CTOR, takes file path name as argument
Definition at line 21 of file StreamerFileIO.cc.
References ost_.
|
inline |
void edm::streamer::OutputFile::close | ( | void | ) |
Definition at line 34 of file StreamerFileIO.cc.
References ost_.
Referenced by esMonitoring.AsyncLineReaderMixin::handle_close(), and esMonitoring.FDJsonServer::handle_close().
|
inline |
|
inline |
|
inline |
Definition at line 36 of file StreamerFileIO.h.
References current_offset_, and findQualityFiles::v.
|
inline |
Definition at line 35 of file StreamerFileIO.h.
References do_adler_, and findQualityFiles::v.
bool edm::streamer::OutputFile::write | ( | const char * | ptr, |
size_t | n | ||
) |
Definition at line 23 of file StreamerFileIO.cc.
References cms::Adler32(), adlera_, adlerb_, current_offset_, do_adler_, dqmiodumpmetadata::n, and ost_.
|
private |
Definition at line 43 of file StreamerFileIO.h.
|
private |
Definition at line 44 of file StreamerFileIO.h.
|
private |
Definition at line 40 of file StreamerFileIO.h.
Referenced by current_offset(), set_current_offset(), and write().
|
private |
Location of current ioptr
Definition at line 42 of file StreamerFileIO.h.
Referenced by set_do_adler(), and write().
|
private |
Definition at line 47 of file StreamerFileIO.h.
Referenced by fileName().
|
private |
Definition at line 46 of file StreamerFileIO.h.
Referenced by close(), OutputFile(), write(), and ~OutputFile().