Vector::BL...torePoints(3)
πΈ NAME πΈ
Vector::BLF::RestorePoints β hi bestie, this is the Vector::BL...torePoints(3) page from the Library Functions Manual (Vector BLF edition), and it's all about a list of restore points. π
β¨ SYNOPSIS β¨
#include <RestorePoints.h>
π Public Member Functions π
virtual void read (AbstractFile &is)virtual void write (AbstractFile &os)virtual uint32_t calculateObjectSize () const
π¦ Public Attributes π¦
uint32_t objectSize {0x00180008}uint32_t objectInterval {1000}std::vector< RestorePoint > restorePoints {}
π Detailed Description π
List of restore points.
Note: This class is based on observations, because there is no public documentation available. There are undocumented API functions for RestorePoint handling. And this seems like this. π
π₯ Member Function Documentation π₯
π uint32_t Vector::BLF::RestorePoints::calculateObjectSize () const [virtual] π
Calculates the objectSize.
Returns: object size.
π void Vector::BLF::RestorePoints::read (AbstractFile & is) [virtual] π
Read the data of this object.
Parameters:
isβ input stream.
π void Vector::BLF::RestorePoints::write (AbstractFile & os) [virtual] π
Write the data of this object.
Parameters:
osβ output stream.
π Member Data Documentation π
π§ uint32_t Vector::BLF::RestorePoints::objectInterval {1000} π§
object interval.
This is the interval between RestorePoints. Actually, due to a bug in the implementation, the interval is actually objectInterval + 1; default is 1000, so it's storing a list, which point to each 1001stth object. π
π§ uint32_t Vector::BLF::RestorePoints::objectSize {0x00180008} π§
Todo: Is this the maximum byte size of the restorePoints vector? Not sure with this.
objectSize is usually 0x00180008=1572872. Reduced by sizeof(objectSize) + sizeof(objectInterval) leaves 1572864 bytes for restorePoints. Each RestorePoint has 24 bytes, which would result in 65536 elements. Seems like a potential maximum for the RestorePoints. But why does this need to be stored in the file? π€
Actually restorePointData.size() in this example, was just 20936, based on available data, which is 502464 bytes. So I would have expected to see objectSize=502472.
π§ std::vector<RestorePoint> Vector::BLF::RestorePoints::restorePoints {} π§
Restore Points.
π Author π
Generated automatically by Doxygen for Vector BLF from the source code.
Cute sign-off: source/version is the Vector BLF manual, bestie β and the footer did not include a date, so that's a little mystery for the group chat. Still iconic. π β¨π«Ά
π¦ where this page comes from
- arch rolling: vector-blf 2.4.2-2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms