Vector BLF
|
#include <AbstractFile.h>
Public Member Functions | |
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 |
Generic interface to access CompressedFile and UncompressedFile in the same way.
Check whether eofbit is set.
Implemented in Vector::BLF::CompressedFile, and Vector::BLF::UncompressedFile.
|
pure virtual |
Get characters returned by last read operation.
Implemented in Vector::BLF::CompressedFile, and Vector::BLF::UncompressedFile.
Check whether state of stream is good.
Implemented in Vector::BLF::CompressedFile, and Vector::BLF::UncompressedFile.
Read block of data.
This operation blocks until the data is available.
[out] | s | Pointer to data |
[in] | n | Requested size of data |
Implemented in Vector::BLF::CompressedFile, and Vector::BLF::UncompressedFile.
|
pure virtual |
Set position in input sequence.
[in] | off | Offset |
[in] | way | Direction |
Implemented in Vector::BLF::CompressedFile, and Vector::BLF::UncompressedFile.
|
finalvirtual |
Write padding null bytes.
s | Number of padding bytes. |
|
pure virtual |
Get position in input sequence.
Implemented in Vector::BLF::CompressedFile, and Vector::BLF::UncompressedFile.
|
pure virtual |
Get position in output sequence.
Implemented in Vector::BLF::CompressedFile, and Vector::BLF::UncompressedFile.
Write block of data.
[in] | s | Pointer to data |
[in] | n | Size of data |
Implemented in Vector::BLF::CompressedFile, and Vector::BLF::UncompressedFile.