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