ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GZIPOutputStream.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file GZIPOutputStream.h
1 // Copyright FreeHEP, 2005.
2 #ifndef CHEPREP_GZIPOUTPUTSTREAM_H
3 #define CHEPREP_GZIPOUTPUTSTREAM_H
4 
5 #include <string>
6 
8 
12 namespace cheprep {
13 
14  class GZIPOutputStream : public std::ostream {
15 
16  public:
17 
18  GZIPOutputStream(std::ostream &os);
19 
20  void setFilename(const std::string &filename);
21  void setComment(const std::string &comment);
22 
23  void close();
24 
25  virtual ~GZIPOutputStream();
26 
27  private:
29  };
30 
31 } // cheprep.
32 
33 #endif // CHEPREP_GZIPOUTPUTSTREAM_H