#include <dqdumpfile.hh>
Definition at line 65 of file dqdumpfile.hh.
DumpFile::DumpFile |
( |
std::string const & |
filename | ) |
|
|
inline |
Definition at line 142 of file dqdumpfile.hh.
149 m_stream.read((
char*) &pack_size,
sizeof(pack_size));
std::vector< std::size_t > m_pos
Definition at line 62 of file dump_file.hh.
std::size_t m_current_file_size
std::size_t const m_max_file_size
Definition at line 160 of file dqdumpfile.hh.
162 return iterator(
this,
m_pos.size());
std::vector< std::size_t > m_pos
Packet DumpFile::operator[] |
( |
std::size_t |
n | ) |
|
|
inline |
Definition at line 165 of file dqdumpfile.hh.
171 m_stream.read((
char*) &pack_size,
sizeof(pack_size));
174 m_stream.read(dg.data(), pack_size);
std::vector< std::size_t > m_pos
std::size_t DumpFile::size |
( |
| ) |
const |
|
inline |
bool DumpFile::write |
( |
const CLBDataGram * |
data, |
|
|
unsigned int |
detector_id |
|
) |
| |
|
inline |
Definition at line 74 of file dump_file.hh.
98 unsigned int const packet_size = data->
size();
100 static_cast<const char*>(
101 static_cast<const void*>(
103 sizeof(packet_size));
uint32_t getRunNumber() const
std::string name(std::size_t run_number, unsigned int detector_id) const
std::size_t m_current_file_size
std::size_t const m_max_file_size
std::ifstream DumpFile::m_stream |
|
private |
std::ofstream DumpFile::m_outfile |
|
private |
std::size_t DumpFile::m_current_file_size |
|
private |
std::size_t const DumpFile::m_max_file_size |
|
private |
The documentation for this class was generated from the following files: