A Paging wrapper to std::ostream that is responsible for writing from a given output stream at intervals set by the PageSize. As Pages are variable in size, they are flushed to disk as soon as sufficiently large.
More...
#include <StreamCompression.h>
A Paging wrapper to std::ostream that is responsible for writing from a given output stream at intervals set by the PageSize. As Pages are variable in size, they are flushed to disk as soon as sufficiently large.
◆ Ptr
◆ PagedOutputStream() [1/2]
◆ PagedOutputStream() [2/2]
◆ flush()
Manually flushes the current page to disk if non-zero.
◆ getOutputStream()
std::ostream& getOutputStream |
( |
| ) |
|
|
inline |
Set and get the output stream.
◆ setOutputStream()
void setOutputStream |
( |
std::ostream & |
os | ) |
|
|
inline |
◆ setSizeOnly()
void setSizeOnly |
( |
bool |
sizeOnly | ) |
|
|
inline |
Size-only mode tags the stream as only writing size data.
◆ sizeOnly()
◆ write()
Writes the given.
- Parameters
-
The documentation for this class was generated from the following file: