synfig-core  1.0.3
Public Types | Public Member Functions | Protected Member Functions | List of all members
synfig::zstreambuf Class Reference

#include <zstreambuf.h>

Public Types

enum  {
  option_bufsize = 4096, option_method = Z_DEFLATED, option_compression_level = 9, option_window_bits = 16+MAX_WBITS,
  option_mem_level = 9, option_strategy = Z_DEFAULT_STRATEGY
}

Public Member Functions

 zstreambuf (std::streambuf *buf)
virtual ~zstreambuf ()

Protected Member Functions

virtual int sync ()
virtual int underflow ()
virtual int overflow (int c=EOF)

Member Enumeration Documentation

anonymous enum
Enumerator:
option_bufsize 
option_method 
option_compression_level 
option_window_bits 
option_mem_level 
option_strategy 

Constructor & Destructor Documentation

zstreambuf::zstreambuf ( std::streambuf *  buf)
explicit
zstreambuf::~zstreambuf ( )
virtual

References sync().

Member Function Documentation

int zstreambuf::sync ( )
protectedvirtual

Referenced by overflow(), and ~zstreambuf().

int zstreambuf::underflow ( )
protectedvirtual
int zstreambuf::overflow ( int  c = EOF)
protectedvirtual

References option_bufsize, and sync().


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