A Paging wrapper to std::istream that is responsible for reading from a given input stream and creating Page objects and PageHandles that reference those pages for delayed reading.
More...
#include <StreamCompression.h>
A Paging wrapper to std::istream that is responsible for reading from a given input stream and creating Page objects and PageHandles that reference those pages for delayed reading.
◆ Ptr
◆ PagedInputStream() [1/2]
◆ PagedInputStream() [2/2]
◆ createHandle()
Creates a PageHandle to access the next.
- Parameters
-
◆ getInputStream()
std::istream& getInputStream |
( |
| ) |
|
|
inline |
◆ read()
void read |
( |
PageHandle::Ptr & |
pageHandle, |
|
|
std::streamsize |
n, |
|
|
bool |
delayed = true |
|
) |
| |
Takes a pageHandle and updates the referenced page with the current stream pointer position and if delayed is false performs an immediate read of the data.
◆ setInputStream()
void setInputStream |
( |
std::istream & |
is | ) |
|
|
inline |
◆ setSizeOnly()
void setSizeOnly |
( |
bool |
sizeOnly | ) |
|
|
inline |
Size-only mode tags the stream as only reading size data.
◆ sizeOnly()
The documentation for this class was generated from the following file: