ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ogzBuffer.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file ogzBuffer.h
1 #ifndef __OGZBUFFER_H
2 #define __OGZBUFFER_H
3 
4 #include <zlib.h>
5 #include "ophBuffer.h"
6 
7 
8 
9 #ifndef __CINT__
11 #else
12 class ogzBuffer : public ophBuffer{
13 #endif
14 
15 public:
16 
17  //** Constructors
18 #ifndef WIN32
19  ogzBuffer (int fd , PHDWORD * where,
20  const int length,
21  const int level =3,
22  const int irun=1,
23  const int iseq=0 );
24 #else
25  ogzBuffer (const char *fpp, PHDWORD * where,
26  const int length,
27  int &status,
28  const int level =3,
29  const int irun=1,
30  const int iseq=0 );
31 #endif
32  virtual ~ogzBuffer();
33 
34 
35  virtual int writeout ();
36 
37 
38 protected:
39 
43 
44 };
45 
46 #endif
47