VRS
A file format for sensor data.
Loading...
Searching...
No Matches
vrs::IndexRecord::Reader Class Reference

Helper class to read VRS index records. More...

#include <IndexRecord.h>

Public Member Functions

 Reader (FileHandler &file, FileFormat::FileHeader &fileHeader, ProgressLogger *progressLogger, set< StreamId > &outStreamIds, vector< RecordInfo > &outIndex)
bool isIndexComplete () const
int readRecord (int64_t firstUserRecordOffset, int64_t &outUsedFileSize)
int rebuildIndex (bool writeFixedIndex)

Detailed Description

Helper class to read VRS index records.

Member Function Documentation

◆ rebuildIndex()

int vrs::IndexRecord::Reader::rebuildIndex ( bool writeFixedIndex)

Rebuild the index of an open file.

Parameters
writeFixedIndextrue to path the file with the rebuilt index.
fileHeaderthe file's index.
Returns
0 on success, or a non-zero error code.

The documentation for this class was generated from the following files: