Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 */
14namespace 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:
36 };
37
38} // cheprep
39
40#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.cc:57