vg
tools for working with variation graphs
Public Member Functions | Protected Attributes | List of all members
vg::zstd_ofstream Class Reference

#include <zstdutil.hpp>

Inheritance diagram for vg::zstd_ofstream:

Public Member Functions

 zstd_ofstream (const std::string &filename, int compression_level=zstd_compress_buf::DEFAULT_COMPRESSION_LEVEL)
 
 zstd_ofstream (const zstd_ofstream &)=delete
 
zstd_ofstreamoperator= (const zstd_ofstream &)=delete
 
 zstd_ofstream (zstd_ofstream &&)=delete
 
zstd_ofstreamoperator= (zstd_ofstream &&)=delete
 

Protected Attributes

std::ofstream inner
 
zstd_compress_buf buffer
 

Detailed Description

Zstandard output file stream. The object cannot be copied or moved.

Constructor & Destructor Documentation

◆ zstd_ofstream() [1/3]

vg::zstd_ofstream::zstd_ofstream ( const std::string &  filename,
int  compression_level = zstd_compress_buf::DEFAULT_COMPRESSION_LEVEL 
)
inlineexplicit

◆ zstd_ofstream() [2/3]

vg::zstd_ofstream::zstd_ofstream ( const zstd_ofstream )
delete

◆ zstd_ofstream() [3/3]

vg::zstd_ofstream::zstd_ofstream ( zstd_ofstream &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

zstd_ofstream& vg::zstd_ofstream::operator= ( const zstd_ofstream )
delete

◆ operator=() [2/2]

zstd_ofstream& vg::zstd_ofstream::operator= ( zstd_ofstream &&  )
delete

Member Data Documentation

◆ buffer

zstd_compress_buf vg::zstd_ofstream::buffer
protected

◆ inner

std::ofstream vg::zstd_ofstream::inner
protected

The documentation for this class was generated from the following file: