A low-level interface for parsing MCAP-style TLV records from a data source. More...
#include <reader.hpp>
Public Member Functions | |
ByteOffset | curRecordOffset () const |
std::optional< Record > | next () |
RecordReader (IReadable &dataSource, ByteOffset startOffset, ByteOffset endOffset=EndOffset) | |
void | reset (IReadable &dataSource, ByteOffset startOffset, ByteOffset endOffset) |
const Status & | status () const |
Public Attributes | |
ByteOffset | endOffset |
ByteOffset | offset |
Private Attributes | |
Record | curRecord_ |
IReadable * | dataSource_ = nullptr |
Status | status_ |
A low-level interface for parsing MCAP-style TLV records from a data source.
Definition at line 498 of file reader.hpp.
mcap::RecordReader::RecordReader | ( | IReadable & | dataSource, |
ByteOffset | startOffset, | ||
ByteOffset | endOffset = EndOffset |
||
) |
ByteOffset mcap::RecordReader::curRecordOffset | ( | ) | const |
std::optional<Record> mcap::RecordReader::next | ( | ) |
void mcap::RecordReader::reset | ( | IReadable & | dataSource, |
ByteOffset | startOffset, | ||
ByteOffset | endOffset | ||
) |
const Status& mcap::RecordReader::status | ( | ) | const |
|
private |
Definition at line 515 of file reader.hpp.
Definition at line 513 of file reader.hpp.
ByteOffset mcap::RecordReader::endOffset |
Definition at line 500 of file reader.hpp.
ByteOffset mcap::RecordReader::offset |
Definition at line 499 of file reader.hpp.
|
private |
Definition at line 514 of file reader.hpp.