Geant4
10.02.p03
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
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::ZipOutputStream::closeEntry
void closeEntry()
Definition:
ZipOutputStream.cc:22
name
G4String name
Definition:
TRTMaterials.hh:40
cheprep::ZipOutputStream
Definition:
ZipOutputStream.h:18
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::ZipOutputStream
ZipOutputStream(std::ostream &os)
Definition:
ZipOutputStream.cc:16
cheprep::ZipOutputStream::~ZipOutputStream
virtual ~ZipOutputStream()
Definition:
ZipOutputStream.cc:39
cheprep::ZipOutputStreamBuffer
Definition:
ZipOutputStreamBuffer.h:19
cheprep
Definition:
AbstractXMLWriter.h:13
compress
int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition:
compress.cc:57
cheprep::ZipOutputStream::close
void close()
Definition:
ZipOutputStream.cc:27
cheprep::ZipOutputStream::buffer
ZipOutputStreamBuffer * buffer
Definition:
ZipOutputStream.h:35
Geant4
Geant4.10.02.p03
source
visualization
HepRep
include
cheprep
ZipOutputStream.h
Generated by
1.8.13