VECTOR_BLF_LOGCONTAINER(3)
Vector::BLF::LogContainer(3) β Library Functions Manual β okay bestie, we're looking at the LOG_CONTAINER class page, and it's giving organized little container energy. Every detail is staying, no cap. πβ¨
π NAME π
Vector::BLF::LogContainer β LOG_CONTAINER.
β¨ SYNOPSIS β¨
#include <LogContainer.h>
Inherits Vector::BLF::ObjectHeaderBase.
πΈ Public Member Functions πΈ
void read (AbstractFile &is) overridevoid write (AbstractFile &os) overrideuint32_t calculateObjectSize () const overrideuint16_t internalHeaderSize () constvirtual void uncompress ()virtual void compress (const uint16_t compressionMethod, const int compressionLevel)
π¦ Public Member Functions inherited from Vector::BLF::ObjectHeaderBase π¦
ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType)ObjectHeaderBase (const ObjectHeaderBase &)=defaultObjectHeaderBase & operator= (const ObjectHeaderBase &)=defaultObjectHeaderBase (ObjectHeaderBase &&)=defaultObjectHeaderBase & operator= (ObjectHeaderBase &&)=defaultvirtual uint16_t calculateHeaderSize () const
π Public Attributes π
uint16_t compressionMethod {}uint16_t reservedLogContainer1 {}uint32_t reservedLogContainer2 {}uint32_t uncompressedFileSize {}uint32_t reservedLogContainer3 {}std::vector< uint8_t > compressedFile {}std::vector< uint8_t > uncompressedFile {}uint32_t compressedFileSize {}std::streampos filePosition {}
π Public Attributes inherited from Vector::BLF::ObjectHeaderBase π
uint32_t signature {ObjectSignature}β signature (ObjectSignature)uint16_t headerSize {}β sizeof object headeruint16_t headerVersion {}β header version (1)uint32_t objectSize {}β object sizeObjectType objectType {ObjectType::UNKNOWN}β object type
π Detailed Description π
LOG_CONTAINER.
That's literally the detailed description. Short. Iconic. Periodt. β¨
π₯ Member Function Documentation π₯
π calculateObjectSize π
uint32_t Vector::BLF::LogContainer::calculateObjectSize () const [override], [virtual]
Calculates the objectSize.
Returns: object size.
Reimplemented from Vector::BLF::ObjectHeaderBase.
π« compress π«
void Vector::BLF::LogContainer::compress (const uint16_t compressionMethod, const int compressionLevel) [virtual]
compress data
Parameters:
compressionMethodβ compression methodcompressionLevelβ compression level (different for each method)
πΈ internalHeaderSize πΈ
uint16_t Vector::BLF::LogContainer::internalHeaderSize () const
internalHeaderSize returns the size of all headers.
Note: Not to be mixed withheaderSize, which only takesObjectHeaderBaseheaders into account.
Returns: Size of all headers.
π¦ read π¦
void Vector::BLF::LogContainer::read (AbstractFile & is) [override], [virtual]
Read the data of this object.
Parameters:
isβ input stream
Reimplemented from Vector::BLF::ObjectHeaderBase.
π§ uncompress π§
void Vector::BLF::LogContainer::uncompress () [virtual]
uncompress data
π write π
void Vector::BLF::LogContainer::write (AbstractFile & os) [override], [virtual]
Write the data of this object.
Parameters:
osβ output stream
Reimplemented from Vector::BLF::ObjectHeaderBase.
π Member Data Documentation π
std::vector<uint8_t> Vector::BLF::LogContainer::compressedFile {}β compressed file contentuint32_t Vector::BLF::LogContainer::compressedFileSize {}β compressed file size in bytesuint16_t Vector::BLF::LogContainer::compressionMethod {}β compression method0: no compression2: zlib deflate
std::streampos Vector::BLF::LogContainer::filePosition {}β position of thisLogContainer::uncompressedFilewithinUncompressedFileclassuint16_t Vector::BLF::LogContainer::reservedLogContainer1 {}β reserveduint32_t Vector::BLF::LogContainer::reservedLogContainer2 {}β reserveduint32_t Vector::BLF::LogContainer::reservedLogContainer3 {}β reservedstd::vector<uint8_t> Vector::BLF::LogContainer::uncompressedFile {}β uncompressed file contentuint32_t Vector::BLF::LogContainer::uncompressedFileSize {}β uncompressed file size in bytes
πΈ Author πΈ
Generated automatically by Doxygen for Vector BLF from the source code.
So the author is Doxygen, bestie. It literally generated itself. π
okay bestie, that's the whole Vector::BLF::LogContainer(3) page! Footer source/version: Vector BLF; date: not printed on the page, so I'm not making one up. Bye! πβ¨ππ¦
π¦ 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