File indexing completed on 2025-08-03 08:20:35
0001 #ifndef __OGZBUFFER_H
0002 #define __OGZBUFFER_H
0003
0004 #include <zlib.h>
0005 #include "ophBuffer.h"
0006
0007
0008
0009 #ifndef __CINT__
0010 class WINDOWSEXPORT ogzBuffer : public ophBuffer{
0011 #else
0012 class ogzBuffer : public ophBuffer{
0013 #endif
0014
0015 public:
0016
0017
0018 #ifndef WIN32
0019 ogzBuffer (int fd , PHDWORD * where,
0020 const int length,
0021 const int level =3,
0022 const int irun=1,
0023 const int iseq=0 );
0024 #else
0025 ogzBuffer (const char *fpp, PHDWORD * where,
0026 const int length,
0027 int &status,
0028 const int level =3,
0029 const int irun=1,
0030 const int iseq=0 );
0031 #endif
0032 virtual ~ogzBuffer();
0033
0034
0035 virtual int writeout ();
0036
0037
0038 protected:
0039
0040 PHDWORD *outputarray;
0041 uLongf outputarraylength;
0042 int compressionlevel;
0043
0044 };
0045
0046 #endif
0047