Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
GZIPOutputStream.h
Go to the documentation of this file.
1// Copyright FreeHEP, 2005.
2#ifndef CHEPREP_GZIPOUTPUTSTREAM_H
3#define CHEPREP_GZIPOUTPUTSTREAM_H
4
5#include <string>
6
8
9/**
10 * @author Mark Donszelmann
11 */
12namespace 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
void setFilename(const std::string &filename)
void setComment(const std::string &comment)