Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
cheprep::GZIPOutputStream Class Reference

#include <GZIPOutputStream.h>

Inheritance 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.

References cheprep::GZIPOutputStreamBuffer::close().

Referenced by cheprep::XMLHepRepWriter::close().

30  {
31  buffer->close();
32  }
void cheprep::GZIPOutputStream::setComment ( const std::string &  comment)

Definition at line 26 of file GZIPOutputStream.cc.

References cheprep::GZIPOutputStreamBuffer::setComment().

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

Definition at line 22 of file GZIPOutputStream.cc.

References cheprep::GZIPOutputStreamBuffer::setFilename().

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

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