Geant4
9.6.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
* @version $Id: ZipOutputStream.h,v 1.9 2005-06-02 21:28:45 duns Exp $
13
*/
14
namespace
cheprep
{
15
16
class
ZipOutputStreamBuffer;
17
18
class
ZipOutputStream
:
public
std::ostream {
19
20
public
:
21
22
ZipOutputStream
(std::ostream& os);
23
24
void
closeEntry
();
25
26
void
close
();
27
28
void
putNextEntry
(
const
std::string& name,
bool
compress
);
29
30
void
setComment
(
const
std::string& comment);
31
32
virtual
~ZipOutputStream
();
33
34
private
:
35
ZipOutputStreamBuffer
* buffer;
36
};
37
38
}
// cheprep
39
40
#endif
// CHEPREP_ZIPOUTPUTSTREAM_H
cheprep::ZipOutputStreamBuffer
Definition:
ZipOutputStreamBuffer.h:19
cheprep::ZipOutputStream
Definition:
ZipOutputStream.h:18
cheprep::ZipOutputStream::closeEntry
void closeEntry()
Definition:
zipoutputstream.cc:22
cheprep::ZipOutputStream::~ZipOutputStream
virtual ~ZipOutputStream()
Definition:
zipoutputstream.cc:39
cheprep::ZipOutputStream::putNextEntry
void putNextEntry(const std::string &name, bool compress)
Definition:
zipoutputstream.cc:31
cheprep::ZipOutputStream::setComment
void setComment(const std::string &comment)
Definition:
zipoutputstream.cc:35
cheprep::ZipOutputStream::close
void close()
Definition:
zipoutputstream.cc:27
compress
int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition:
compress.cc:57
cheprep
Definition:
AbstractXMLWriter.h:13
geant4-v9.6.0
source
visualization
HepRep
include
cheprep
ZipOutputStream.h
Generated by
1.9.6