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

# User Rev Content
1 douglas 674 // Gzip Writer
2     //
3     // Douglas Thrift
4     //
5     // $Id$
6    
7 douglas 680 #ifndef _Zlib_GzipWriter_hpp_
8     #define _Zlib_GzipWriter_hpp_
9 douglas 674
10     #include <cxx/platform.hpp>
11    
12     #ifdef MENES_PRAGMA_ONCE
13     #pragma once
14     #endif
15    
16     #include <ios/streams.hpp>
17    
18 douglas 686 #include "Error.hpp"
19 douglas 674
20 douglas 680 namespace Zlib
21     {
22    
23 douglas 674 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 douglas 680 }
34    
35     #endif//_Zlib_GzipWriter_hpp_

Properties

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