Geant4
9.6.0
Toolkit for the simulation of the passage of particles through matter
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
n
o
p
r
s
t
z
Variables
Typedefs
b
d
f
g
h
i
n
p
s
t
u
y
Enumerations
Enumerator
_
a
c
d
e
f
g
h
i
k
l
n
o
p
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
Enumerations
c
d
e
f
g
l
m
o
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
a
b
c
d
g
h
i
k
o
q
r
s
t
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
q
r
s
t
u
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
m
n
o
p
r
s
t
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
y
z
Enumerations
b
c
d
e
g
j
l
m
s
t
u
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Loading...
Searching...
No Matches
ZipOutputStreamBuffer.h
Go to the documentation of this file.
1
// Copyright FreeHEP, 2005.
2
#ifndef CHEPREP_ZIPOUTPUTSTREAMBUFFER_H
3
#define CHEPREP_ZIPOUTPUTSTREAMBUFFER_H
4
5
#include <string>
6
#include <iostream>
7
#include <vector>
8
9
#include "
cheprep/DeflateOutputStreamBuffer.h
"
10
11
/**
12
* @author Mark Donszelmann
13
* @version $Id: ZipOutputStreamBuffer.h,v 1.9 2005-06-02 21:28:45 duns Exp $
14
*/
15
namespace
cheprep
{
16
17
class
ZipEntry;
18
19
class
ZipOutputStreamBuffer
:
public
DeflateOutputStreamBuffer
{
20
21
public
:
22
23
ZipOutputStreamBuffer
(std::streambuf*
buffer
);
24
25
int
overflow
(
int
c);
26
27
void
closeEntry
();
28
29
void
close
();
30
31
void
putNextEntry
(
const
std::string& name,
bool
compress
);
32
33
void
setMethod
(
int
method);
34
35
void
setComment
(
const
std::string& comment);
36
37
virtual
~ZipOutputStreamBuffer
();
38
39
private
:
40
std::string comment;
41
42
bool
closed;
43
ZipEntry
* entry;
44
std::vector<ZipEntry*>* entries;
45
46
static
const
unsigned
int
LOCSIG = 0x04034b50;
47
static
const
unsigned
int
EXTSIG = 0x08074b50;
48
static
const
unsigned
int
CENSIG = 0x02014b50;
49
static
const
unsigned
int
ENDSIG = 0x06054b50;
50
51
static
const
unsigned
int
VERSIONMADE = 0x0014;
52
static
const
unsigned
int
VERSIONEXTRACT = 0x0014;
53
static
const
unsigned
int
GENFLAG = 0x0008;
54
};
55
56
}
// cheprep
57
58
#endif
// CHEPREP_ZIPOUTPUTSTREAMBUFFER_H
DeflateOutputStreamBuffer.h
cheprep::DeflateOutputStreamBuffer
Definition:
DeflateOutputStreamBuffer.h:20
cheprep::ZipEntry
Definition:
ZipEntry.h:14
cheprep::ZipOutputStreamBuffer
Definition:
ZipOutputStreamBuffer.h:19
cheprep::ZipOutputStreamBuffer::overflow
int overflow(int c)
Definition:
ZipOutputStreamBuffer.cc:27
cheprep::ZipOutputStreamBuffer::setMethod
void setMethod(int method)
cheprep::ZipOutputStreamBuffer::setComment
void setComment(const std::string &comment)
Definition:
ZipOutputStreamBuffer.cc:135
cheprep::ZipOutputStreamBuffer::close
void close()
Definition:
ZipOutputStreamBuffer.cc:49
cheprep::ZipOutputStreamBuffer::closeEntry
void closeEntry()
Definition:
ZipOutputStreamBuffer.cc:31
cheprep::ZipOutputStreamBuffer::putNextEntry
void putNextEntry(const std::string &name, bool compress)
Definition:
ZipOutputStreamBuffer.cc:96
cheprep::ZipOutputStreamBuffer::~ZipOutputStreamBuffer
virtual ~ZipOutputStreamBuffer()
Definition:
ZipOutputStreamBuffer.cc:140
compress
int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition:
compress.cc:57
cheprep
Definition:
AbstractXMLWriter.h:13
buffer
#define buffer
Definition:
xmlparse.cc:611
geant4-v9.6.0
source
visualization
HepRep
include
cheprep
ZipOutputStreamBuffer.h
Generated by
1.9.6