VECTOR_BLF_LOGCONTAINER(3)

πŸ“¦ version 2.4.2, in arch rolling

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) override
  • void write (AbstractFile &os) override
  • uint32_t calculateObjectSize () const override
  • uint16_t internalHeaderSize () const
  • virtual 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 &)=default
  • ObjectHeaderBase & operator= (const ObjectHeaderBase &)=default
  • ObjectHeaderBase (ObjectHeaderBase &&)=default
  • ObjectHeaderBase & operator= (ObjectHeaderBase &&)=default
  • virtual 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 header
  • uint16_t headerVersion {} β€” header version (1)
  • uint32_t objectSize {} β€” object size
  • ObjectType 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 method
  • compressionLevel β€” 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 with headerSize, which only takes ObjectHeaderBase headers 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 content
  • uint32_t Vector::BLF::LogContainer::compressedFileSize {} β€” compressed file size in bytes
  • uint16_t Vector::BLF::LogContainer::compressionMethod {} β€” compression method
    • 0: no compression
    • 2: zlib deflate
  • std::streampos Vector::BLF::LogContainer::filePosition {} β€” position of this LogContainer::uncompressedFile within UncompressedFile class
  • uint16_t Vector::BLF::LogContainer::reservedLogContainer1 {} β€” reserved
  • uint32_t Vector::BLF::LogContainer::reservedLogContainer2 {} β€” reserved
  • uint32_t Vector::BLF::LogContainer::reservedLogContainer3 {} β€” reserved
  • std::vector<uint8_t> Vector::BLF::LogContainer::uncompressedFile {} β€” uncompressed file content
  • uint32_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