ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/GoogleTron/Zlib/GzipWriter.hpp
Revision: 686
Committed: 2006-03-06T17:40:59-08:00 (19 years, 3 months ago) by douglas
File size: 494 byte(s)
Log Message:
dynamic_cast<Cool *>(stuff);

File Contents

# Content
1 // Gzip Writer
2 //
3 // Douglas Thrift
4 //
5 // $Id$
6
7 #ifndef _Zlib_GzipWriter_hpp_
8 #define _Zlib_GzipWriter_hpp_
9
10 #include <cxx/platform.hpp>
11
12 #ifdef MENES_PRAGMA_ONCE
13 #pragma once
14 #endif
15
16 #include <ios/streams.hpp>
17
18 #include "Error.hpp"
19
20 namespace Zlib
21 {
22
23 class GzipWriter : public ios::Writer
24 {
25 gzFile file;
26 public:
27 GzipWriter(const cse::String &path);
28 virtual ~GzipWriter();
29 virtual size_t Write(const byte_t *data, size_t length);
30 virtual void Flush();
31 };
32
33 }
34
35 #endif//_Zlib_GzipWriter_hpp_

Properties

Name Value
svn:eol-style native
svn:keywords Id