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
7
#include "
cheprep/GZIPOutputStreamBuffer.h
"
8
9
/**
10
* @author Mark Donszelmann
11
*/
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
:
28
GZIPOutputStreamBuffer
*buffer;
29
};
30
31
}
// cheprep.
32
33
#endif
// CHEPREP_GZIPOUTPUTSTREAM_H
GZIPOutputStreamBuffer.h
cheprep::GZIPOutputStreamBuffer
Definition:
GZIPOutputStreamBuffer.h:14
cheprep::GZIPOutputStream
Definition:
GZIPOutputStream.h:14
cheprep::GZIPOutputStream::close
void close()
Definition:
GZIPOutputStream.cc:29
cheprep::GZIPOutputStream::setFilename
void setFilename(const std::string &filename)
Definition:
GZIPOutputStream.cc:21
cheprep::GZIPOutputStream::~GZIPOutputStream
virtual ~GZIPOutputStream()
Definition:
GZIPOutputStream.cc:34
cheprep::GZIPOutputStream::setComment
void setComment(const std::string &comment)
Definition:
GZIPOutputStream.cc:25
cheprep
Definition:
AbstractXMLWriter.h:12
geant4-v10.7.0
source
visualization
HepRep
include
cheprep
GZIPOutputStream.h
Generated by
1.9.6