CMS 3D CMS Logo

GZIPInputStream.h

Go to the documentation of this file.
00001 #ifndef CLASSLIB_GZIP_INPUT_STREAM_H
00002 # define CLASSLIB_GZIP_INPUT_STREAM_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "classlib/zip/ZInputStream.h"
00007 # include "classlib/zip/ZConstants.h"
00008 
00009 namespace lat {
00010 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00011 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00012 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00013 
00014 class ZDecompressor;
00015 
00016 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00017 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00018 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00019 
00021 class GZIPInputStream : public ZInputStream, public ZConstants
00022 {
00023 public:
00024     GZIPInputStream (InputStream        *input,
00025                      ZDecompressor      *engine = 0,
00026                      IOSize             bufsize = DEFAULT_BUF_SIZE);
00027     // implicit destructor
00028     // implicit copy constructor (= none)
00029     // implicit assignment operator (= none)
00030 
00031     using ZInputStream::read;
00032     virtual IOSize      read (void *into, IOSize n);
00033 
00034 private:
00035     bool                m_eof;
00036 };
00037 
00038 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00039 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00040 
00041 } // namespace lat
00042 #endif // CLASSLIB_GZIP_INPUT_STREAM_H

Generated on Tue Jun 9 17:39:00 2009 for CMSSW by  doxygen 1.5.4