VECTOR_BLF_ABSTRACTFILE(3)
π NAME π
Okay so listen, bestie: this is the Library Functions Manual page for Vector::BLF::AbstractFile(3), aka the class Vector::BLF::AbstractFile. She's abstract, she's iconic, and she's literally the blueprint. π
β¨ SYNOPSIS β¨
#include <AbstractFile.h>
Inherited by Vector::BLF::CompressedFile, and Vector::BLF::UncompressedFile.
π«Ά Public Member Functions π«Ά
These are the exact public member functions, no edits, no cap:
AbstractFile (const AbstractFile &)=default
AbstractFile & operator= (const AbstractFile &)=default
AbstractFile (AbstractFile &&)=default
AbstractFile & operator= (AbstractFile &&)=default
virtual std::streamsize gcount () const =0
virtual void read (char *s, std::streamsize n)=0
virtual std::streampos tellg ()=0
virtual void seekg (std::streamoff off, const std::ios_base::seekdir
way=std::ios_base::cur)=0
virtual void write (const char *s, std::streamsize n)=0
virtual std::streampos tellp ()=0
virtual bool good () const =0
virtual bool eof () const =0
virtual void skipp (std::streamsize s) final
πΈ Detailed Description πΈ
Generic interface to access CompressedFile and UncompressedFile in the same way. Like, that's the whole vibe: one cute interface so both file types can be handled the same way. Obsessed. π¦
π₯ Member Function Documentation π₯
π virtual bool Vector::BLF::AbstractFile::eof () const [pure virtual]
Check whether eofbit is set.
- Returns β
trueifeofbitis set.
Implemented in Vector::BLF::CompressedFile, and Vector::BLF::UncompressedFile.
π virtual std::streamsize Vector::BLF::AbstractFile::gcount () const [pure virtual]
Get characters returned by last read operation.
- Returns β Number of characters.
Implemented in Vector::BLF::CompressedFile, and Vector::BLF::UncompressedFile.
β virtual bool Vector::BLF::AbstractFile::good () const [pure virtual]
Check whether state of stream is good. Vibe check for the stream, basically.
- Returns β
trueif no error flags are set.
Implemented in Vector::BLF::CompressedFile, and Vector::BLF::UncompressedFile.
π§ virtual void Vector::BLF::AbstractFile::read (char * s, std::streamsize n) [pure virtual]
Read block of data.
This operation blocks until the data is available. Like, it waits. Very patient. Very main character energy. π
- Parameters
sβ Pointer to datanβ Requested size of data
Implemented in Vector::BLF::CompressedFile, and Vector::BLF::UncompressedFile.
π¦ virtual void Vector::BLF::AbstractFile::seekg (std::streamoff off, const std::ios_base::seekdir way = std::ios_base::cur) [pure virtual]
Set position in input sequence.
- Parameters
offβ Offsetwayβ Direction
Implemented in Vector::BLF::CompressedFile, and Vector::BLF::UncompressedFile.
π void Vector::BLF::AbstractFile::skipp (std::streamsize s) [final], [virtual]
Write padding null bytes. Padding queen behavior, honestly. β¨
- Parameters
sβ Number of padding bytes.
π virtual std::streampos Vector::BLF::AbstractFile::tellg () [pure virtual]
Get position in input sequence.
- Returns β Read position.
Implemented in Vector::BLF::CompressedFile, and Vector::BLF::UncompressedFile.
π virtual std::streampos Vector::BLF::AbstractFile::tellp () [pure virtual]
Get position in output sequence.
- Returns β Write position.
Implemented in Vector::BLF::CompressedFile, and Vector::BLF::UncompressedFile.
π«Ά virtual void Vector::BLF::AbstractFile::write (const char * s, std::streamsize n) [pure virtual]
Write block of data.
- Parameters
sβ Pointer to datanβ Size of data
Implemented in Vector::BLF::CompressedFile, and Vector::BLF::UncompressedFile.
π Author π
Generated automatically by Doxygen for Vector BLF from the source code.
That's the whole page, bestie β mwah! π Footer source/version: Vector BLF. Footer page label: Vector::BL...bstractFile(3). No date is printed in this footer, just so you know. β¨
π¦ 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