#include <raw_ofstream.h>
◆ close() [1/2]
void raw_ofstream::close |
( |
| ) |
|
Definition at line 70 of file raw_ofstream.cxx.
71{
72 if ( is_open() ) {
74 m_nevt = 0;
75
76 (*this) << m_fileEndRecord;
77 std::ofstream::close();
78
79 std::cout << "[RawFile] Finished writing file: " << real_fname() << std::endl;
80 }
81}
void setEventsInFile(uint32_t file_nevt)
Referenced by write_event().
◆ close() [2/2]
void raw_ofstream::close |
( |
| ) |
|
◆ instance() [1/2]
raw_ofstream * raw_ofstream::instance |
( |
const std::string & |
fname | ) |
|
|
static |
◆ instance() [2/2]
static raw_ofstream * raw_ofstream::instance |
( |
const std::string & |
fname | ) |
|
|
static |
◆ lock() [1/2]
static void raw_ofstream::lock |
( |
| ) |
|
|
inlinestatic |
◆ lock() [2/2]
static void raw_ofstream::lock |
( |
| ) |
|
|
inlinestatic |
◆ release() [1/2]
void raw_ofstream::release |
( |
| ) |
|
|
static |
◆ release() [2/2]
static void raw_ofstream::release |
( |
| ) |
|
|
static |
◆ unlock() [1/2]
static void raw_ofstream::unlock |
( |
| ) |
|
|
inlinestatic |
◆ unlock() [2/2]
static void raw_ofstream::unlock |
( |
| ) |
|
|
inlinestatic |
◆ write_event() [1/2]
int raw_ofstream::write_event |
( |
const char * |
pbuf, |
|
|
int |
size |
|
) |
| |
Definition at line 53 of file raw_ofstream.cxx.
54{
55 uint32_t fsize = tellp();
58 init_fstream();
59 }
60
63
64 (*this) << m_dataSeparatorRecord;
65 std::ofstream::write(pbuf, size);
66
67 return m_nfile;
68}
void setDataBlockSize(uint32_t ds)
void setDataBlockNumber(uint32_t dn)
Referenced by RawFileWriter::writeEvent().
◆ write_event() [2/2]
int raw_ofstream::write_event |
( |
const char * |
pbuf, |
|
|
int |
size |
|
) |
| |
The documentation for this class was generated from the following files: