#include <StreamerFileIO.h>
Public Member Functions | |
uint32 | adler32 () const |
uint64 | current_offset () const |
uint64 | events () const |
std::string | fileName () const |
uint64 | first_event_offset () const |
void | inc_events () |
uint64 | last_event_offset () const |
OutputFile (const std::string &name) | |
uint64 | run () const |
void | set_current_offset (uint64 v) |
void | set_do_adler (bool v) |
void | set_events (uint64 v) |
void | set_first_event_offset (uint64 v) |
void | set_last_event_offset (uint64 v) |
void | set_run (uint64 v) |
bool | write (const char *ptr, size_t n) |
~OutputFile () | |
Private Attributes | |
uint32 | adlera_ |
uint32 | adlerb_ |
uint64 | current_offset_ |
bool | do_adler_ |
uint32 | events_ |
std::string | filename_ |
uint64 | first_event_offset_ |
uint64 | last_event_offset_ |
boost::shared_ptr< std::ofstream > | ost_ |
uint32 | run_ |
This file contains Class definitions for the Class representing Output (Streamer) file. Class representing Output (Streamer) file.
Definition at line 16 of file StreamerFileIO.h.
|
explicit |
OutputFile::~OutputFile | ( | ) |
CTOR, takes file path name as argument
Definition at line 26 of file StreamerFileIO.cc.
References ost_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 39 of file StreamerFileIO.h.
References current_offset_, and findQualityFiles::v.
|
inline |
|
inline |
|
inline |
Definition at line 40 of file StreamerFileIO.h.
References first_event_offset_, and findQualityFiles::v.
|
inline |
Definition at line 41 of file StreamerFileIO.h.
References last_event_offset_, and findQualityFiles::v.
|
inline |
bool OutputFile::write | ( | const char * | ptr, |
size_t | n | ||
) |
Definition at line 31 of file StreamerFileIO.cc.
References cms::Adler32(), adlera_, adlerb_, current_offset_, do_adler_, and ost_.
|
private |
Definition at line 54 of file StreamerFileIO.h.
|
private |
Definition at line 55 of file StreamerFileIO.h.
|
private |
Definition at line 47 of file StreamerFileIO.h.
Referenced by current_offset(), set_current_offset(), and write().
|
private |
Definition at line 53 of file StreamerFileIO.h.
Referenced by set_do_adler(), and write().
|
private |
Definition at line 50 of file StreamerFileIO.h.
Referenced by events(), inc_events(), and set_events().
|
private |
Definition at line 58 of file StreamerFileIO.h.
Referenced by fileName().
|
private |
Location of current ioptr
Definition at line 48 of file StreamerFileIO.h.
Referenced by first_event_offset(), and set_first_event_offset().
|
private |
Definition at line 49 of file StreamerFileIO.h.
Referenced by last_event_offset(), and set_last_event_offset().
|
private |
Definition at line 57 of file StreamerFileIO.h.
Referenced by OutputFile(), write(), and ~OutputFile().
|
private |
Definition at line 51 of file StreamerFileIO.h.