Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cheprep::GZIPOutputStream Class Reference

#include <GZIPOutputStream.h>

Inheritance diagram for cheprep::GZIPOutputStream:
Collaboration diagram for cheprep::GZIPOutputStream:

Public Member Functions

 GZIPOutputStream (std::ostream &os)
 
void setFilename (const std::string &filename)
 
void setComment (const std::string &comment)
 
void close ()
 
virtual ~GZIPOutputStream ()
 

Detailed Description

Definition at line 15 of file GZIPOutputStream.h.

Constructor & Destructor Documentation

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

Definition at line 14 of file GZIPOutputStream.cc.

15  : std::ostream(NULL) {
16 
17  buffer = new GZIPOutputStreamBuffer(os.rdbuf());
18  init(buffer);
19  }
cheprep::GZIPOutputStream::~GZIPOutputStream ( )
virtual

Definition at line 35 of file GZIPOutputStream.cc.

35  {
36  delete buffer;
37  }

Member Function Documentation

void cheprep::GZIPOutputStream::close ( )

Definition at line 30 of file GZIPOutputStream.cc.

30  {
31  buffer->close();
32  }

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 26 of file GZIPOutputStream.cc.

26  {
27  buffer->setComment(comment);
28  }
void setComment(const std::string &comment)

Here is the call graph for this function:

void cheprep::GZIPOutputStream::setFilename ( const std::string &  filename)

Definition at line 22 of file GZIPOutputStream.cc.

22  {
23  buffer->setFilename(filename);
24  }
void setFilename(const std::string &filename)

Here is the call graph for this function:


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