VECTOR_BLF_FILESTATISTICS(3)
π NAME π
okay bestie, this is Vector::BLF::FileStatistics β yes, that's the title β and we're in the Library Functions Manual (manual name folded in near the top like a little name tag π«Ά). The short story? File statistics. That's it. The name ate, no cap. π
π SYNOPSIS π
Include this, exactly:
#include <FileStatistics.h>
π Public Member Functions π
FileStatistics (const FileStatistics &)=defaultβ copy constructor, defaulted. iconic.FileStatistics & operator= (const FileStatistics &)=defaultβ copy assignment, defaulted. slay.FileStatistics (FileStatistics &&)=defaultβ move constructor, defaulted. we love a low-effort queen.FileStatistics & operator= (FileStatistics &&)=defaultβ move assignment, defaulted. periodt.virtual void read (AbstractFile &is)β read file statistics; takesis, the input stream.virtual void write (AbstractFile &os)β write file statistics; takesos, the output stream.uint32_t calculateStatisticsSize () constβ calculates thestatisticsSize; returns the statistics size.
π¦ Public Attributes π¦
uint32_t signature {FileSignature}β signature; default isFileSignature.uint32_t statisticsSize {calculateStatisticsSize()}β the statistics size, defaulted viacalculateStatisticsSize(); its detail-doc one-liner issizeof(FileStatistics).uint32_t apiNumber { 4080200 }β BL API number; default4080200.uint8_t applicationId {}β application ID; default{}.uint8_t compressionLevel {1}β compression level; default1, with a zlib note below.uint8_t applicationMajor {}β application major number; default{}.uint8_t applicationMinor {}β application minor number; default{}.uint64_t fileSize {}β (compressed) file size in bytes; default{}.uint64_t uncompressedFileSize {}β uncompressed file size in bytes; default{}.uint32_t objectCount {}β number of objects; default{}.uint32_t applicationBuild {}β application build number; default{}, and there's a Todo below.SYSTEMTIME measurementStartTime {}β measurement start time; default{}.SYSTEMTIME lastObjectTime {}β last object time; default{}.uint64_t restorePointsOffset {}β default{}; the big observation note is below.std::array< uint32_t, 16 > reservedFileStatistics {}β reserved; default{}.
β¨ Detailed Description β¨
File statistics. Literally the detailed description is File statistics, and the class is doing exactly what it says on the tin. Main character energy for a stats block. π
π§ Member Function Documentation π§
uint32_t Vector::BLF::FileStatistics::calculateStatisticsSize () const
Calculates the statisticsSize.
Returns: statistics size.
void Vector::BLF::FileStatistics::read (AbstractFile & is) [virtual]
read file statistics.
Parameters: is input stream.
void Vector::BLF::FileStatistics::write (AbstractFile & os) [virtual]
write file statistics.
Parameters: os output stream.
π Member Data Documentation π
uint32_t Vector::BLF::FileStatistics::apiNumber { 4080200 }
BL API number.
This consists of major, minor, build, patch. It's encoded as such: major * 1000000 + minor * 1000 + build * 100 + patch. Example: 4010608 decodes to 4.1.6.8.
uint32_t Vector::BLF::FileStatistics::applicationBuild {}
application build number
Todo: The BL API function takes an uint8_t argument here.
uint8_t Vector::BLF::FileStatistics::applicationId {}
application ID
uint8_t Vector::BLF::FileStatistics::applicationMajor {}
application major number
uint8_t Vector::BLF::FileStatistics::applicationMinor {}
application minor number
uint8_t Vector::BLF::FileStatistics::compressionLevel {1}
compression level
Note:zlibdefines maximum compression level9. All files that show10here, actually haveLogContainerswith compression level6, which is default for Vector BLF.
uint64_t Vector::BLF::FileStatistics::fileSize {}
(compressed) file size in bytes
SYSTEMTIME Vector::BLF::FileStatistics::lastObjectTime {}
last object time
SYSTEMTIME Vector::BLF::FileStatistics::measurementStartTime {}
measurement start time
uint32_t Vector::BLF::FileStatistics::objectCount {}
number of objects
std::array<uint32_t, 16> Vector::BLF::FileStatistics::reservedFileStatistics {}
reserved
uint64_t Vector::BLF::FileStatistics::restorePointsOffset {}
Note: The following variables are based on observations, as there is no public documentation available. This variable designates the file position of the (first)LogContainerthat contains theRestorePointContainerobjects. IfRestorePointsare not used, this defaults to0. See also:RestorePointContainer
uint32_t Vector::BLF::FileStatistics::signature {FileSignature}
signature β the original calls it signature (signature), and I'm keeping that little echo exactly.
uint32_t Vector::BLF::FileStatistics::statisticsSize {calculateStatisticsSize()}
sizeof(FileStatistics)
uint64_t Vector::BLF::FileStatistics::uncompressedFileSize {}
uncompressed file size in bytes
π«Ά Author π«Ά
Author: Generated automatically by Doxygen for Vector BLF from the source code.
okay that's the whole page β footer sign-off tea: source/version vibe is Vector BLF, and the date isn't shown on this page, so no invented date, periodt. π π
π¦ 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