Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 * @version $Id: GZIPOutputStream.h,v 1.3 2005-06-02 21:28:45 duns Exp $
12 */
13namespace cheprep {
14
15 class GZIPOutputStream : public std::ostream {
16
17 public:
18
19 GZIPOutputStream(std::ostream &os);
20
21 void setFilename(const std::string &filename);
22 void setComment(const std::string &comment);
23
24 void close();
25
26 virtual ~GZIPOutputStream();
27
28 private:
30 };
31
32} // cheprep.
33
34#endif // CHEPREP_GZIPOUTPUTSTREAM_H
void setFilename(const std::string &filename)
void setComment(const std::string &comment)