#include <record.h>
|
| | record () |
| |
| | ~record () |
| |
| void | read (hipo::bank &b, int event) |
| |
| void | readRecord (std::ifstream &stream, long position, int dataOffset) |
| | Read.
|
| |
| void | readRecord__ (std::ifstream &stream, long position, long recordLength) |
| |
| bool | readRecord (std::ifstream &stream, long position, int dataOffset, long inputSize) |
| |
| int | getEventCount () |
| | returns number of events in the record.
|
| |
| int | getRecordSizeCompressed () |
| |
| void | getColumn (hipo::data &data, int column, hipo::bank &bank, int event) |
| |
| void | getColumn (hipo::data &data, const char *column, hipo::bank &bank, int event) |
| |
| void | readEvent (std::vector< char > &vec, int index) |
| | reads content of the event with given index into a vector vector will be resized to fit the data.
|
| |
| void | readHipoEvent (hipo::event &event, int index) |
| |
| void | getData (hipo::data &data, int index) |
| | returns a data object that points to the event inside of the record.
|
| |
| void | getEventsMap (std::vector< std::pair< int, int > > &emap) |
| |
| hipo::benchmark & | getReadBenchmark () |
| |
| hipo::benchmark & | getUnzipBenchmark () |
| |
| hipo::benchmark & | getIndexBenchmark () |
| |
◆ record()
◆ ~record()
| hipo::record::~record |
( |
| ) |
|
|
default |
◆ read()
| void hipo::record::read |
( |
hipo::bank & |
b, |
|
|
int |
event |
|
) |
| |
◆ readRecord() [1/2]
| void hipo::record::readRecord |
( |
std::ifstream & |
stream, |
|
|
long |
position, |
|
|
int |
dataOffset |
|
) |
| |
Read.
converting index array from lengths of each buffer in the record to relative positions in the record stream.
◆ readRecord__()
| void hipo::record::readRecord__ |
( |
std::ifstream & |
stream, |
|
|
long |
position, |
|
|
long |
recordLength |
|
) |
| |
converting index array from lengths of each buffer in the record to relative positions in the record stream.
◆ readRecord() [2/2]
| bool hipo::record::readRecord |
( |
std::ifstream & |
stream, |
|
|
long |
position, |
|
|
int |
dataOffset, |
|
|
long |
inputSize |
|
) |
| |
converting index array from lengths of each buffer in the record to relative positions in the record stream.
◆ getEventCount()
| int hipo::record::getEventCount |
( |
| ) |
|
returns number of events in the record.
◆ getRecordSizeCompressed()
| int hipo::record::getRecordSizeCompressed |
( |
| ) |
|
◆ getColumn() [1/2]
◆ getColumn() [2/2]
| void hipo::record::getColumn |
( |
hipo::data & |
data, |
|
|
const char * |
column, |
|
|
hipo::bank & |
bank, |
|
|
int |
event |
|
) |
| |
◆ readEvent()
| void hipo::record::readEvent |
( |
std::vector< char > & |
vec, |
|
|
int |
index |
|
) |
| |
reads content of the event with given index into a vector vector will be resized to fit the data.
The resulting size of the vector can be used to veryfy the successfull read.
◆ readHipoEvent()
| void hipo::record::readHipoEvent |
( |
hipo::event & |
event, |
|
|
int |
index |
|
) |
| |
◆ getData()
| void hipo::record::getData |
( |
hipo::data & |
data, |
|
|
int |
index |
|
) |
| |
returns a data object that points to the event inside of the record.
For given index the data object will be filled with the pointer to the position in the buffer where the event starts and with the size indicating length of the event.
◆ getEventsMap()
| void hipo::record::getEventsMap |
( |
std::vector< std::pair< int, int > > & |
emap | ) |
|
◆ getReadBenchmark()
◆ getUnzipBenchmark()
◆ getIndexBenchmark()
The documentation for this class was generated from the following files: