|
Last change
on this file since 1098 was 834, checked in by garnier, 17 years ago |
|
import all except CVS
|
-
Property svn:executable
set to
*
|
|
File size:
763 bytes
|
| Rev | Line | |
|---|
| [834] | 1 | // Copyright FreeHEP, 2005.
|
|---|
| 2 | #ifndef CHEPREP_GZIPOUTPUTSTREAM_H
|
|---|
| 3 | #define CHEPREP_GZIPOUTPUTSTREAM_H
|
|---|
| 4 |
|
|---|
| 5 | #include <string>
|
|---|
| 6 |
|
|---|
| 7 | #include "cheprep/GZIPOutputStreamBuffer.h"
|
|---|
| 8 |
|
|---|
| 9 | /**
|
|---|
| 10 | * @author Mark Donszelmann
|
|---|
| 11 | * @version $Id: GZIPOutputStream.h,v 1.3 2005/06/02 21:28:45 duns Exp $
|
|---|
| 12 | */
|
|---|
| 13 | namespace cheprep {
|
|---|
| 14 |
|
|---|
| 15 | class GZIPOutputStream : public std::ostream {
|
|---|
| 16 |
|
|---|
| 17 | public:
|
|---|
| 18 |
|
|---|
| 19 | GZIPOutputStream(std::ostream &os);
|
|---|
| 20 |
|
|---|
| 21 | void setFilename(const std::string &filename);
|
|---|
| 22 | void setComment(const std::string &comment);
|
|---|
| 23 |
|
|---|
| 24 | void close();
|
|---|
| 25 |
|
|---|
| 26 | virtual ~GZIPOutputStream();
|
|---|
| 27 |
|
|---|
| 28 | private:
|
|---|
| 29 | GZIPOutputStreamBuffer *buffer;
|
|---|
| 30 | };
|
|---|
| 31 |
|
|---|
| 32 | } // cheprep.
|
|---|
| 33 |
|
|---|
| 34 | #endif // CHEPREP_GZIPOUTPUTSTREAM_H
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.