Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
olzoBuffer.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file olzoBuffer.h
1 #ifndef __OLZOBUFFER_H__
2 #define __OLZOBUFFER_H__
3 
4 #include <lzo/lzo1x.h>
5 
6 #include "ophBuffer.h"
7 
8 
9 
10 #ifndef __CINT__
12 #else
13 class olzoBuffer : public ophBuffer{
14 #endif
15 
16 public:
17 
18  //** Constructors
19 
20 #ifndef WIN32
21  olzoBuffer (int fdin, PHDWORD * where,
22  const int length,
23  const int irun=1,
24  const int iseq=0 );
25 #else
26  olzoBuffer (const char *fpp, PHDWORD * where,
27  const int length,
28  int &status,
29  const int irun=1,
30  const int iseq=0 );
31 #endif
32  virtual ~olzoBuffer();
33 
34 
35  virtual int writeout ();
36 
37 
38 protected:
39 
40  static int lzo_initialized;
41 
42  int _broken;
43 
44  lzo_byte *wrkmem;
45 
48 
49 
50 };
51 
52 
53 
54 #endif /* __OLZOBUFFER_H__ */
55