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