#include <RawFileUtil.h>
Definition at line 39 of file RawFileUtil.h.
◆ FileStartRecord()
FileStartRecord::FileStartRecord |
( |
| ) |
|
Definition at line 232 of file RawFileUtil.cxx.
233{
234 m_record.
marker = 0x1234aaaa;
236
243}
uint32_t sizeLimit_dataBlocks
◆ dump()
void FileStartRecord::dump |
( |
std::ostream & |
os = std::cout | ) |
const |
Definition at line 291 of file RawFileUtil.cxx.
291 {
292 os << "[RawFile] FileStartRecord:" << std::endl << std::hex
293 <<
"[RawFile] \tmarker : 0x" << m_record.
marker << std::endl
294 <<
"[RawFile] \trecord_size : 0x" << m_record.
record_size << std::endl
295 <<
"[RawFile] \tversion : 0x" << m_record.
version << std::endl
296 <<
"[RawFile] \tfile_number : 0x" << m_record.
file_number << std::endl
297 <<
"[RawFile] \tdate : 0x" << m_record.
date << std::endl
298 <<
"[RawFile] \ttime : 0x" << m_record.
time << std::endl
300 <<
"[RawFile] \tsizeLimit_MB : 0x" << m_record.
sizeLimit_MB
301 << std::dec << std::endl;
302}
◆ getRecord()
◆ setFileNumber()
void FileStartRecord::setFileNumber |
( |
uint32_t |
fn | ) |
|
|
inline |
◆ operator<<
Definition at line 175 of file RawFileUtil.cxx.
175 {
176
178 std::cerr << "[RawFile] Error occurred while writing file" << std::endl;
180 }
181
182 return os;
183}
◆ operator>>
Definition at line 7 of file RawFileUtil.cxx.
7 {
8
10
12 }
13
14
15 if (record.m_record.
marker != 0x1234aaaa) {
16
18 }
19
21
23 }
24
25 return is;
26}
The documentation for this class was generated from the following files: