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 */
13namespace 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:
35 };
36
37} // cheprep
38
39#endif // CHEPREP_ZIPOUTPUTSTREAM_H
void putNextEntry(const std::string &name, bool compress)
void setComment(const std::string &comment)
int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition: compress.c:67