Vector::BLF::RestorePoint(3) Library Functions Manual Vector::BLF::RestorePoint(3)

Vector::BLF::RestorePoint

#include <RestorePoint.h>


virtual void read (AbstractFile &is)
virtual void write (AbstractFile &os)


static uint32_t calculateObjectSize ()


uint64_t timeStamp {}
uint64_t compressedFilePosition {}
uint32_t uncompressedFileOffset {}
uint32_t unknownRestorePoint {}

Restore Point

Restore Points are kept in a list that is basically an index that references each 1001stth object. So skipping object 0, it counts 1000, 2001, 3002, ...

Note

This class is based on observations, as there is no public documentation available. There are undocumented API functions for RestorePoint handling. And this seems like it.

uint32_t Vector::BLF::RestorePoint::calculateObjectSize () [static]

Calculates the objectSize

Returns

object size

void Vector::BLF::RestorePoint::read (AbstractFile & is) [virtual]

Read the data of this object

Parameters

is input stream

void Vector::BLF::RestorePoint::write (AbstractFile & os) [virtual]

Write the data of this object

Parameters

os output stream

uint64_t Vector::BLF::RestorePoint::compressedFilePosition {}

compressed file position

This designates the position of a LogContainer in the compressed file.

uint64_t Vector::BLF::RestorePoint::timeStamp {}

time stamp (in ns)

The following file positions and offsets refer to an Object. The time stamp is from this object.

uint32_t Vector::BLF::RestorePoint::uncompressedFileOffset {}

uncompressed file offset

This designates the offset within the uncompressed content of the LogContainer, where an Object starts. This Object is not necessarily the first or last Object, but an arbitrary one.

uint32_t Vector::BLF::RestorePoint::unknownRestorePoint {}

Todo

It's unclear what this variable is.

Maybe just a reserved field for future extensions.

Examples show:

  • File1: 0, 0x9a
  • File2: 0, 1, 2, 3, 4, 5, 6
  • File3: 0, 0xffffffff, 0x10020
  • File4: 0xb9
  • File5: 0, 0x2c9a8a00

This is similar data as for LogContainer.unknownLogContainer.

See also

LogContainer

Generated automatically by Doxygen for Vector BLF from the source code.

Vector BLF