Geant4  10.02.p03
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 ()
 

Private Attributes

GZIPOutputStreamBufferbuffer
 

Detailed Description

Definition at line 15 of file GZIPOutputStream.h.

Constructor & Destructor Documentation

◆ GZIPOutputStream()

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  }
GZIPOutputStreamBuffer * buffer

◆ ~GZIPOutputStream()

cheprep::GZIPOutputStream::~GZIPOutputStream ( )
virtual

Definition at line 35 of file GZIPOutputStream.cc.

35  {
36  delete buffer;
37  }
GZIPOutputStreamBuffer * buffer

Member Function Documentation

◆ close()

void cheprep::GZIPOutputStream::close ( )

Definition at line 30 of file GZIPOutputStream.cc.

30  {
31  buffer->close();
32  }
GZIPOutputStreamBuffer * buffer
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setComment()

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)
GZIPOutputStreamBuffer * buffer
Here is the call graph for this function:

◆ setFilename()

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)
GZIPOutputStreamBuffer * buffer
Here is the call graph for this function:

Member Data Documentation

◆ buffer

GZIPOutputStreamBuffer* cheprep::GZIPOutputStream::buffer
private

Definition at line 29 of file GZIPOutputStream.h.


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