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.
Definition at line 243 of file StreamCompression.h.
openvdb::OPENVDB_VERSION_NAME::compression::PagedOutputStream::PagedOutputStream |
( |
| ) |
|
openvdb::OPENVDB_VERSION_NAME::compression::PagedOutputStream::PagedOutputStream |
( |
std::ostream & |
os | ) |
|
|
explicit |
void openvdb::OPENVDB_VERSION_NAME::compression::PagedOutputStream::flush |
( |
| ) |
|
Manually flushes the current page to disk if non-zero.
std::ostream& openvdb::OPENVDB_VERSION_NAME::compression::PagedOutputStream::getOutputStream |
( |
| ) |
|
|
inline |
void openvdb::OPENVDB_VERSION_NAME::compression::PagedOutputStream::setOutputStream |
( |
std::ostream & |
os | ) |
|
|
inline |
void openvdb::OPENVDB_VERSION_NAME::compression::PagedOutputStream::setSizeOnly |
( |
bool |
sizeOnly | ) |
|
|
inline |
bool openvdb::OPENVDB_VERSION_NAME::compression::PagedOutputStream::sizeOnly |
( |
| ) |
const |
|
inline |
PagedOutputStream& openvdb::OPENVDB_VERSION_NAME::compression::PagedOutputStream::write |
( |
const char * |
str, |
|
|
std::streamsize |
n |
|
) |
| |
Writes the given.
- Parameters
-
The documentation for this class was generated from the following file: