00001 #ifndef CLASSLIB_GZIP_OUTPUT_STREAM_H 00002 # define CLASSLIB_GZIP_OUTPUT_STREAM_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "classlib/zip/ZOutputStream.h" 00007 # include "classlib/zip/ZConstants.h" 00008 00009 namespace lat { 00010 //<<<<<< PUBLIC DEFINES >>>>>> 00011 //<<<<<< PUBLIC CONSTANTS >>>>>> 00012 //<<<<<< PUBLIC TYPES >>>>>> 00013 00014 class ZCompressor; 00015 00016 //<<<<<< PUBLIC VARIABLES >>>>>> 00017 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00018 //<<<<<< CLASS DECLARATIONS >>>>>> 00019 00021 class GZIPOutputStream : public ZOutputStream 00022 { 00023 public: 00024 GZIPOutputStream (OutputStream *output, 00025 ZCompressor *engine = 0, 00026 IOSize bufsize = DEFAULT_BUF_SIZE); 00027 // implicit destructor 00028 // implicit copy constructor (= none) 00029 // implicit assignment operator (= none) 00030 00031 virtual void finish (void); 00032 }; 00033 00034 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00035 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00036 00037 } // namespace lat 00038 #endif // CLASSLIB_GZIP_OUTPUT_STREAM_H