HDK
|
Interface for writing Seekable Compressed Format (SCF) files. More...
#include <UT_SCFWriter.h>
Public Member Functions | |
UT_SCFWriter (bool doShuffleing=true, exint typeSize=4, exint blockSize=65536, UT_CompressionType type=UT_COMPRESSION_TYPE_BLOSC, int compressionlevel=UT_SCF_BLOSC_COMPRESSION_LEVEL) | |
~UT_SCFWriter () | |
UT_SCFWriter (const UT_SCFWriter &)=delete | |
UT_SCFWriter & | operator= (const UT_SCFWriter &)=delete |
void | setCompressionType (UT_CompressionType type) |
void | setBlockSize (exint blockSize) |
bios::filtering_ostream * | getOutputStream (const char *filename) |
bios::filtering_ostream * | getOutputStream (std::ostream *outStream) |
void | close () |
Closes the file. More... | |
Interface for writing Seekable Compressed Format (SCF) files.
Definition at line 25 of file UT_SCFWriter.h.
UT_SCFWriter::UT_SCFWriter | ( | bool | doShuffleing = true , |
exint | typeSize = 4 , |
||
exint | blockSize = 65536 , |
||
UT_CompressionType | type = UT_COMPRESSION_TYPE_BLOSC , |
||
int | compressionlevel = UT_SCF_BLOSC_COMPRESSION_LEVEL |
||
) |
UT_SCFWriter::~UT_SCFWriter | ( | ) |
|
delete |
void UT_SCFWriter::close | ( | ) |
Closes the file.
bios::filtering_ostream* UT_SCFWriter::getOutputStream | ( | const char * | filename | ) |
Retrieves an output stream to write uncompressed data into the file. This is equivalent to open().
filename | Filename to write to. |
bios::filtering_ostream* UT_SCFWriter::getOutputStream | ( | std::ostream * | outStream | ) |
Retrieves an output stream to write uncompressed data into the file. This is equivalent to open().
outStream | Stream to write to. |
|
delete |
Set's the size of each block in the SCF. The default block size is: <TODO: Fill this in with default block size>
void UT_SCFWriter::setCompressionType | ( | UT_CompressionType | type | ) |
Sets the compression type for the compressed blocks section of the SCF.