Import Geant4 10.5.0 source tree
This commit is contained in:
@@ -1,40 +1,39 @@
|
||||
// Copyright FreeHEP, 2005.
|
||||
#ifndef CHEPREP_ZIPOUTPUTSTREAM_H
|
||||
#define CHEPREP_ZIPOUTPUTSTREAM_H
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
|
||||
|
||||
/**
|
||||
* @author Mark Donszelmann
|
||||
* @version $Id: ZipOutputStream.h 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
*/
|
||||
namespace cheprep {
|
||||
|
||||
class ZipOutputStreamBuffer;
|
||||
|
||||
class ZipOutputStream : public std::ostream {
|
||||
|
||||
public:
|
||||
|
||||
ZipOutputStream(std::ostream& os);
|
||||
|
||||
void closeEntry();
|
||||
|
||||
void close();
|
||||
|
||||
void putNextEntry(const std::string& name, bool compress);
|
||||
|
||||
void setComment(const std::string& comment);
|
||||
|
||||
virtual ~ZipOutputStream();
|
||||
|
||||
private:
|
||||
ZipOutputStreamBuffer* buffer;
|
||||
};
|
||||
|
||||
} // cheprep
|
||||
|
||||
#endif // CHEPREP_ZIPOUTPUTSTREAM_H
|
||||
// Copyright FreeHEP, 2005.
|
||||
#ifndef CHEPREP_ZIPOUTPUTSTREAM_H
|
||||
#define CHEPREP_ZIPOUTPUTSTREAM_H
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
|
||||
|
||||
/**
|
||||
* @author Mark Donszelmann
|
||||
*/
|
||||
namespace cheprep {
|
||||
|
||||
class ZipOutputStreamBuffer;
|
||||
|
||||
class ZipOutputStream : public std::ostream {
|
||||
|
||||
public:
|
||||
|
||||
ZipOutputStream(std::ostream& os);
|
||||
|
||||
void closeEntry();
|
||||
|
||||
void close();
|
||||
|
||||
void putNextEntry(const std::string& name, bool compress);
|
||||
|
||||
void setComment(const std::string& comment);
|
||||
|
||||
virtual ~ZipOutputStream();
|
||||
|
||||
private:
|
||||
ZipOutputStreamBuffer* buffer;
|
||||
};
|
||||
|
||||
} // cheprep
|
||||
|
||||
#endif // CHEPREP_ZIPOUTPUTSTREAM_H
|
||||
|
||||
Reference in New Issue
Block a user