Geant4
10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
ZipOutputStream.h
Go to the documentation of this file.
1
// Copyright FreeHEP, 2005.
2
#ifndef CHEPREP_ZIPOUTPUTSTREAM_H
3
#define CHEPREP_ZIPOUTPUTSTREAM_H
4
5
#include <string>
6
#include <iostream>
7
#include <vector>
8
9
10
/**
11
* @author Mark Donszelmann
12
*/
13
namespace
cheprep
{
14
15
class
ZipOutputStreamBuffer;
16
17
class
ZipOutputStream
:
public
std::ostream {
18
19
public
:
20
21
ZipOutputStream
(std::ostream& os);
22
23
void
closeEntry
();
24
25
void
close
();
26
27
void
putNextEntry
(
const
std::string& name,
bool
compress
);
28
29
void
setComment
(
const
std::string& comment);
30
31
virtual
~ZipOutputStream
();
32
33
private
:
34
ZipOutputStreamBuffer
* buffer;
35
};
36
37
}
// cheprep
38
39
#endif
// CHEPREP_ZIPOUTPUTSTREAM_H
cheprep::ZipOutputStreamBuffer
Definition:
ZipOutputStreamBuffer.h:18
cheprep::ZipOutputStream
Definition:
ZipOutputStream.h:17
cheprep::ZipOutputStream::closeEntry
void closeEntry()
Definition:
ZipOutputStream.cc:21
cheprep::ZipOutputStream::~ZipOutputStream
virtual ~ZipOutputStream()
Definition:
ZipOutputStream.cc:38
cheprep::ZipOutputStream::putNextEntry
void putNextEntry(const std::string &name, bool compress)
Definition:
ZipOutputStream.cc:30
cheprep::ZipOutputStream::setComment
void setComment(const std::string &comment)
Definition:
ZipOutputStream.cc:34
cheprep::ZipOutputStream::close
void close()
Definition:
ZipOutputStream.cc:26
compress
int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition:
compress.c:67
cheprep
Definition:
AbstractXMLWriter.h:12
geant4-v10.7.0
source
visualization
HepRep
include
cheprep
ZipOutputStream.h
Generated by
1.9.6