struct RecordReader

Declaration

struct RecordReader { /* full declaration omitted */ };

Description

A low-level interface for parsing MCAP-style TLV records from a data source.

Declared at: mcap/include/mcap/reader.hpp:507

Member Variables

public mcap::ByteOffset offset
public mcap::ByteOffset endOffset

Method Overview

  • public RecordReader(mcap::IReadable & dataSource, mcap::ByteOffset startOffset, mcap::ByteOffset endOffset = EndOffset)
  • public mcap::ByteOffset curRecordOffset() const
  • public std::optional<Record> next()
  • public void reset(mcap::IReadable & dataSource, mcap::ByteOffset startOffset, mcap::ByteOffset endOffset)
  • public const mcap::Status & status() const

Methods

RecordReader(
    mcap::IReadable& dataSource,
    mcap::ByteOffset startOffset,
    mcap::ByteOffset endOffset = EndOffset)

Declared at: mcap/include/mcap/reader.hpp:511

Parameters

mcap::IReadable& dataSource
mcap::ByteOffset startOffset
mcap::ByteOffset endOffset = EndOffset

mcap::ByteOffset curRecordOffset() const

Declared at: mcap/include/mcap/reader.hpp:519

std::optional<Record> next()

Declared at: mcap/include/mcap/reader.hpp:515

void reset(mcap::IReadable& dataSource,
           mcap::ByteOffset startOffset,
           mcap::ByteOffset endOffset)

Declared at: mcap/include/mcap/reader.hpp:513

Parameters

mcap::IReadable& dataSource
mcap::ByteOffset startOffset
mcap::ByteOffset endOffset

const mcap::Status& status() const

Declared at: mcap/include/mcap/reader.hpp:517