|
Geant4.10
|
#include <ZipOutputStreamBuffer.h>
Public Member Functions | |
| ZipOutputStreamBuffer (std::streambuf *buffer) | |
| int | overflow (int c) |
| void | closeEntry () |
| void | close () |
| void | putNextEntry (const std::string &name, bool compress) |
| void | setMethod (int method) |
| void | setComment (const std::string &comment) |
| virtual | ~ZipOutputStreamBuffer () |
Public Member Functions inherited from cheprep::DeflateOutputStreamBuffer | |
| DeflateOutputStreamBuffer (std::streambuf *buffer) | |
| void | init (bool compress) |
| void | finish () |
| virtual | ~DeflateOutputStreamBuffer () |
Additional Inherited Members | |
Protected Member Functions inherited from cheprep::DeflateOutputStreamBuffer | |
| int | overflow (int c=EOF) |
| bool | flushOut () |
| void | putUI (unsigned int ui) |
| void | putUS (unsigned short us) |
| void | putUB (unsigned char ub) |
| void | putS (const std::string s) |
| std::streampos | pos () |
| unsigned int | getSize () |
| unsigned int | getCRC () |
Definition at line 19 of file ZipOutputStreamBuffer.h.
| cheprep::ZipOutputStreamBuffer::ZipOutputStreamBuffer | ( | std::streambuf * | buffer | ) |
Definition at line 17 of file ZipOutputStreamBuffer.cc.
|
virtual |
| void cheprep::ZipOutputStreamBuffer::close | ( | ) |
Definition at line 49 of file ZipOutputStreamBuffer.cc.
References closeEntry(), cheprep::ZipEntry::crc, cheprep::ZipEntry::csize, cheprep::ZipEntry::date, cheprep::ZipEntry::method, cheprep::ZipEntry::name, cheprep::ZipEntry::offset, cheprep::DeflateOutputStreamBuffer::pos(), cheprep::DeflateOutputStreamBuffer::putS(), cheprep::DeflateOutputStreamBuffer::putUI(), cheprep::DeflateOutputStreamBuffer::putUS(), cheprep::ZipEntry::size, and cheprep::ZipEntry::time.
Referenced by cheprep::ZipOutputStream::close(), and ~ZipOutputStreamBuffer().
| void cheprep::ZipOutputStreamBuffer::closeEntry | ( | ) |
Definition at line 31 of file ZipOutputStreamBuffer.cc.
References cheprep::ZipEntry::crc, cheprep::ZipEntry::csize, cheprep::ZipEntry::data, cheprep::DeflateOutputStreamBuffer::finish(), cheprep::DeflateOutputStreamBuffer::getCRC(), cheprep::DeflateOutputStreamBuffer::getSize(), cheprep::DeflateOutputStreamBuffer::pos(), cheprep::DeflateOutputStreamBuffer::putUI(), and cheprep::ZipEntry::size.
Referenced by close(), cheprep::ZipOutputStream::closeEntry(), and putNextEntry().
Definition at line 27 of file ZipOutputStreamBuffer.cc.
References cheprep::DeflateOutputStreamBuffer::overflow().
| void cheprep::ZipOutputStreamBuffer::putNextEntry | ( | const std::string & | name, |
| bool | compress | ||
| ) |
Definition at line 96 of file ZipOutputStreamBuffer.cc.
References closeEntry(), cheprep::ZipEntry::crc, cheprep::ZipEntry::data, cheprep::ZipEntry::date, cheprep::DeflateOutputStreamBuffer::init(), cheprep::ZipEntry::method, cheprep::ZipEntry::name, cheprep::ZipEntry::offset, cheprep::DeflateOutputStreamBuffer::pos(), cheprep::DeflateOutputStreamBuffer::putS(), cheprep::DeflateOutputStreamBuffer::putUI(), cheprep::DeflateOutputStreamBuffer::putUS(), cheprep::ZipEntry::time, and G4InuclParticleNames::tm.
Referenced by cheprep::ZipOutputStream::putNextEntry().
| void cheprep::ZipOutputStreamBuffer::setComment | ( | const std::string & | comment | ) |
Definition at line 135 of file ZipOutputStreamBuffer.cc.
References test::c.
Referenced by cheprep::ZipOutputStream::setComment().
1.8.7