#include <raw_ofstream.h>
◆ close() [1/3]
| void raw_ofstream::close |
( |
| ) |
|
Definition at line 62 of file raw_ofstream.cxx.
62 {
63 if ( is_open() )
64 {
65 m_fileEndRecord.setEventsInFile( m_nevt );
66 m_nevt = 0;
67
68 ( *this ) << m_fileEndRecord;
69 std::ofstream::close();
70
71 std::cout << "[RawFile] Finished writing file: " << real_fname() << std::endl;
72 }
73}
Referenced by write_event().
◆ close() [2/3]
| void raw_ofstream::close |
( |
| ) |
|
◆ close() [3/3]
| void raw_ofstream::close |
( |
| ) |
|
◆ instance() [1/3]
| raw_ofstream * raw_ofstream::instance |
( |
const std::string & | fname, |
|
|
int | run = 0 ) |
|
static |
◆ instance() [2/3]
| raw_ofstream * raw_ofstream::instance |
( |
const std::string & | fname, |
|
|
int | run = 0 ) |
|
static |
◆ instance() [3/3]
| raw_ofstream * raw_ofstream::instance |
( |
const std::string & | fname, |
|
|
int | run = 0 ) |
|
static |
◆ lock() [1/3]
| void raw_ofstream::lock |
( |
| ) |
|
|
inlinestatic |
◆ lock() [2/3]
| void raw_ofstream::lock |
( |
| ) |
|
|
inlinestatic |
◆ lock() [3/3]
| void raw_ofstream::lock |
( |
| ) |
|
|
inlinestatic |
◆ release() [1/3]
| void raw_ofstream::release |
( |
| ) |
|
|
static |
◆ release() [2/3]
| void raw_ofstream::release |
( |
| ) |
|
|
static |
◆ release() [3/3]
| void raw_ofstream::release |
( |
| ) |
|
|
static |
◆ unlock() [1/3]
| void raw_ofstream::unlock |
( |
| ) |
|
|
inlinestatic |
◆ unlock() [2/3]
| void raw_ofstream::unlock |
( |
| ) |
|
|
inlinestatic |
◆ unlock() [3/3]
| void raw_ofstream::unlock |
( |
| ) |
|
|
inlinestatic |
◆ write_event() [1/3]
| int raw_ofstream::write_event |
( |
const char * | pbuf, |
|
|
int | size ) |
Definition at line 45 of file raw_ofstream.cxx.
45 {
46 uint32_t fsize = tellp();
48 {
50 init_fstream();
51 }
52
53 m_dataSeparatorRecord.setDataBlockNumber( ++m_nevt );
54 m_dataSeparatorRecord.setDataBlockSize( size );
55
56 ( *this ) << m_dataSeparatorRecord;
57 std::ofstream::write( pbuf, size );
58
59 return m_nfile;
60}
◆ write_event() [2/3]
| int raw_ofstream::write_event |
( |
const char * | pbuf, |
|
|
int | size ) |
◆ write_event() [3/3]
| int raw_ofstream::write_event |
( |
const char * | pbuf, |
|
|
int | size ) |
The documentation for this class was generated from the following files: