ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
GZIPOutputStreamBuffer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file GZIPOutputStreamBuffer.h
1
// Copyright FreeHEP, 2005.
2
#ifndef CHEPREP_GZIPOUTPUTSTREAMBUF_H
3
#define CHEPREP_GZIPOUTPUTSTREAMBUF_H
4
5
#include <string>
6
7
#include "
cheprep/DeflateOutputStreamBuffer.h
"
8
12
namespace
cheprep {
13
14
class
GZIPOutputStreamBuffer
:
public
DeflateOutputStreamBuffer
{
15
16
public
:
17
18
GZIPOutputStreamBuffer
( std::streambuf *outbuf );
19
20
int
overflow
(
int
);
21
22
void
setFilename
(
const
std::string &
filename
);
23
void
setComment
(
const
std::string &
comment
);
24
25
void
close
() ;
26
27
virtual
~GZIPOutputStreamBuffer
() ;
28
29
private
:
30
void
writeHeader
();
31
void
writeTrailer
();
32
33
std::string
filename
;
34
std::string
comment
;
35
bool
open
;
36
};
37
38
39
}
// cheprep
40
41
#endif // CHEPREP_GZIPOUTPUTSTREAMBUF_H
geant4
tree
geant4-10.6-release
source
visualization
HepRep
include
cheprep
GZIPOutputStreamBuffer.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:54
using
1.8.2 with
ECCE GitHub integration