A toolkit for working with phylogenetic data.
v0.24.0
gzip_stream.hpp File Reference
#include "genesis/utils/io/gzip.hpp"
#include "genesis/utils/io/strict_fstream.hpp"
#include <cassert>
#include <fstream>
#include <sstream>
#include <string>

Go to the source code of this file.

Classes

class  GzipIFStream
 Input file stream that offers on-the-fly gzip-decompression if needed. More...
 
class  GzipIStream
 Input stream that offers on-the-fly gzip-decompression if needed. More...
 
class  GzipOFStream
 Out file stream that offers on-the-fly gzip-compression. More...
 
class  GzipOStream
 Output stream that offers on-the-fly gzip-compression. More...
 
struct  StrictFStreamHolder< FStreamType >
 Helper class template for managing the construction order between stream classes. More...
 

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::utils
 

Enumerations

enum  GzipCompressionLevel : int { kDefaultCompression = -1, kNoCompression = 0, kBestSpeed = 1, kBestCompression = 9 }
 List of possible compression levels used for GzipOStream. More...
 

Variables

static const std::size_t GZIP_DEFAULT_BUFFER_SIZE = (std::size_t) 1 << 20
 Default buffer size for all gzip (de)compression buffers. More...