Skip to content
Snippets Groups Projects
Select Git revision
  • next default protected
  • master
  • dynres-update
  • ksf-wadfiles
  • raise-skin-limit
  • software-slope-plane-uv-fix-attempt
  • fix-blendtables
  • deh-buffer-unclog
  • release-candidate
  • more-slope-copying
  • pantelegraph
  • fix-noasm
  • prerelease-serious
  • blendmode-revision
  • fix-luafile-transfer
  • gl-texfmt-p8-ap88-a8-ai8-fix
  • remove-spinning
  • no-airwalking-springs
  • final-tweaks
  • remove-iterdeclarations
  • SRB2_release_2.2.8
  • SRB2_release_2.2.7
  • SRB2_release_2.2.6
  • SRB2_release_2.2.5
  • SRB2_release_2.2.4
  • SRB2_release_2.2.3
  • SRB2_release_2.2.2
  • SRB2_release_2.2.1
  • SRB2_release_2.2.0
  • SRB2_release_2.1.25
  • SRB2_release_2.1.24
  • SRB2_release_2.1.23
  • SRB2_release_2.1.22
  • SRB2_release_2.1.21
  • SRB2_release_2.1.20
  • SRB2_release_2.1.19
  • SRB2_release_2.1.18
  • td-release-v1.0.0
  • SRB2_release_2.1.17
  • SRB2_release_2.1.16a
40 results

iostream3

  • Clone with SSH
  • Clone with HTTPS
  • Forked from STJr / SRB2
    13642 commits behind the upstream repository.
    Alam Ed Arias's avatar
    Alam Ed Arias authored and Alam Arias committed
    b93cb1b6
    History
    Name Last commit Last update
    ..
    README
    TODO
    test.cc
    zfstream.cc
    zfstream.h
    These classes provide a C++ stream interface to the zlib library. It allows you
    to do things like:
    
      gzofstream outf("blah.gz");
      outf << "These go into the gzip file " << 123 << endl;
    
    It does this by deriving a specialized stream buffer for gzipped files, which is
    the way Stroustrup would have done it. :->
    
    The gzifstream and gzofstream classes were originally written by Kevin Ruland
    and made available in the zlib contrib/iostream directory. The older version still
    compiles under gcc 2.xx, but not under gcc 3.xx, which sparked the development of
    this version.
    
    The new classes are as standard-compliant as possible, closely following the
    approach of the standard library's fstream classes. It compiles under gcc versions
    3.2 and 3.3, but not under gcc 2.xx. This is mainly due to changes in the standard
    library naming scheme. The new version of gzifstream/gzofstream/gzfilebuf differs
    from the previous one in the following respects:
    - added showmanyc
    - added setbuf, with support for unbuffered output via setbuf(0,0)
    - a few bug fixes of stream behavior
    - gzipped output file opened with default compression level instead of maximum level
    - setcompressionlevel()/strategy() members replaced by single setcompression()
    
    The code is provided "as is", with the permission to use, copy, modify, distribute
    and sell it for any purpose without fee.
    
    Ludwig Schwardt
    <schwardt@sun.ac.za>
    
    DSP Lab
    Electrical & Electronic Engineering Department
    University of Stellenbosch
    South Africa