Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cheprep::ZipOutputStream Class Reference

#include <ZipOutputStream.h>

Inheritance diagram for cheprep::ZipOutputStream:
Collaboration diagram for cheprep::ZipOutputStream:

Public Member Functions

 ZipOutputStream (std::ostream &os)
 
void closeEntry ()
 
void close ()
 
void putNextEntry (const std::string &name, bool compress)
 
void setComment (const std::string &comment)
 
virtual ~ZipOutputStream ()
 

Detailed Description

Definition at line 18 of file ZipOutputStream.h.

Constructor & Destructor Documentation

cheprep::ZipOutputStream::ZipOutputStream ( std::ostream &  os)

Definition at line 16 of file ZipOutputStream.cc.

16  : std::ostream(0) {
17  buffer = new ZipOutputStreamBuffer(os.rdbuf());
18 
19  init(buffer);
20  }
cheprep::ZipOutputStream::~ZipOutputStream ( )
virtual

Definition at line 39 of file ZipOutputStream.cc.

39  {
40  close();
41  delete buffer;
42  }

Here is the call graph for this function:

Member Function Documentation

void cheprep::ZipOutputStream::close ( )

Definition at line 27 of file ZipOutputStream.cc.

27  {
28  buffer->close();
29  }

Here is the call graph for this function:

Here is the caller graph for this function:

void cheprep::ZipOutputStream::closeEntry ( )

Definition at line 22 of file ZipOutputStream.cc.

22  {
23  buffer->closeEntry();
24  }

Here is the call graph for this function:

Here is the caller graph for this function:

void cheprep::ZipOutputStream::putNextEntry ( const std::string &  name,
bool  compress 
)

Definition at line 31 of file ZipOutputStream.cc.

31  {
32  buffer->putNextEntry(name, compress);
33  }
const XML_Char * name
Definition: expat.h:151
void putNextEntry(const std::string &name, bool compress)
int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
Definition: compress.cc:57

Here is the call graph for this function:

Here is the caller graph for this function:

void cheprep::ZipOutputStream::setComment ( const std::string &  comment)

Definition at line 35 of file ZipOutputStream.cc.

35  {
36  buffer->setComment(comment);
37  }
void setComment(const std::string &comment)

Here is the call graph for this function:


The documentation for this class was generated from the following files: