ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/visualization/HepRep/include/cheprep/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 () |
Private Attributes | |
std::string | comment |
bool | closed |
ZipEntry * | entry |
std::vector< ZipEntry * > * | entries |
Static Private Attributes | |
static const unsigned int | LOCSIG = 0x04034b50 |
static const unsigned int | EXTSIG = 0x08074b50 |
static const unsigned int | CENSIG = 0x02014b50 |
static const unsigned int | ENDSIG = 0x06054b50 |
static const unsigned int | VERSIONMADE = 0x0014 |
static const unsigned int | VERSIONEXTRACT = 0x0014 |
static const unsigned int | GENFLAG = 0x0008 |
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 18 of file ZipOutputStreamBuffer.h.
View newest version in sPHENIX GitHub at line 18 of file ZipOutputStreamBuffer.h
cheprep::ZipOutputStreamBuffer::ZipOutputStreamBuffer | ( | std::streambuf * | buffer | ) |
Definition at line 16 of file ZipOutputStreamBuffer.cc.
View newest version in sPHENIX GitHub at line 16 of file ZipOutputStreamBuffer.cc
|
virtual |
Definition at line 139 of file ZipOutputStreamBuffer.cc.
View newest version in sPHENIX GitHub at line 139 of file ZipOutputStreamBuffer.cc
References close().
Definition at line 48 of file ZipOutputStreamBuffer.cc.
View newest version in sPHENIX GitHub at line 48 of file ZipOutputStreamBuffer.cc
References CENSIG, closed, closeEntry(), comment, cheprep::ZipEntry::crc, cheprep::ZipEntry::csize, cheprep::ZipEntry::date, ENDSIG, entries, entry, GENFLAG, cheprep::ZipEntry::method, cheprep::ZipEntry::name, cheprep::ZipEntry::offset, cheprep::DeflateOutputStreamBuffer::pos(), cheprep::DeflateOutputStreamBuffer::putS(), cheprep::DeflateOutputStreamBuffer::putUI(), cheprep::DeflateOutputStreamBuffer::putUS(), cheprep::ZipEntry::size, cheprep::ZipEntry::time, VERSIONEXTRACT, and VERSIONMADE.
Referenced by ~ZipOutputStreamBuffer().
void cheprep::ZipOutputStreamBuffer::closeEntry | ( | ) |
Definition at line 30 of file ZipOutputStreamBuffer.cc.
View newest version in sPHENIX GitHub at line 30 of file ZipOutputStreamBuffer.cc
References closed, cheprep::ZipEntry::crc, cheprep::ZipEntry::csize, cheprep::ZipEntry::data, entry, EXTSIG, cheprep::DeflateOutputStreamBuffer::finish(), cheprep::DeflateOutputStreamBuffer::getCRC(), cheprep::DeflateOutputStreamBuffer::getSize(), cheprep::DeflateOutputStreamBuffer::pos(), cheprep::DeflateOutputStreamBuffer::putUI(), and cheprep::ZipEntry::size.
Referenced by close(), and putNextEntry().
Definition at line 26 of file ZipOutputStreamBuffer.cc.
View newest version in sPHENIX GitHub at line 26 of file ZipOutputStreamBuffer.cc
References cheprep::DeflateOutputStreamBuffer::overflow().
void cheprep::ZipOutputStreamBuffer::putNextEntry | ( | const std::string & | name, |
bool | compress | ||
) |
Definition at line 95 of file ZipOutputStreamBuffer.cc.
View newest version in sPHENIX GitHub at line 95 of file ZipOutputStreamBuffer.cc
References closed, closeEntry(), cheprep::ZipEntry::crc, cheprep::ZipEntry::data, cheprep::ZipEntry::date, entries, entry, GENFLAG, cheprep::DeflateOutputStreamBuffer::init(), LOCSIG, cheprep::ZipEntry::method, cheprep::ZipEntry::name, cheprep::ZipEntry::offset, cheprep::DeflateOutputStreamBuffer::pos(), cheprep::DeflateOutputStreamBuffer::putS(), cheprep::DeflateOutputStreamBuffer::putUI(), cheprep::DeflateOutputStreamBuffer::putUS(), cheprep::ZipEntry::time, Acts::VectorHelpers::time(), G4InuclParticleNames::tm, and VERSIONEXTRACT.
void cheprep::ZipOutputStreamBuffer::setComment | ( | const std::string & | comment | ) |
Definition at line 134 of file ZipOutputStreamBuffer.cc.
View newest version in sPHENIX GitHub at line 134 of file ZipOutputStreamBuffer.cc
|
staticprivate |
Definition at line 47 of file ZipOutputStreamBuffer.h.
View newest version in sPHENIX GitHub at line 47 of file ZipOutputStreamBuffer.h
Referenced by close().
|
private |
Definition at line 41 of file ZipOutputStreamBuffer.h.
View newest version in sPHENIX GitHub at line 41 of file ZipOutputStreamBuffer.h
Referenced by close(), closeEntry(), putNextEntry(), setComment(), and ZipOutputStreamBuffer().
|
private |
Definition at line 39 of file ZipOutputStreamBuffer.h.
View newest version in sPHENIX GitHub at line 39 of file ZipOutputStreamBuffer.h
Referenced by close(), and setComment().
|
staticprivate |
Definition at line 48 of file ZipOutputStreamBuffer.h.
View newest version in sPHENIX GitHub at line 48 of file ZipOutputStreamBuffer.h
Referenced by close().
|
private |
Definition at line 43 of file ZipOutputStreamBuffer.h.
View newest version in sPHENIX GitHub at line 43 of file ZipOutputStreamBuffer.h
Referenced by close(), putNextEntry(), and ZipOutputStreamBuffer().
|
private |
Definition at line 42 of file ZipOutputStreamBuffer.h.
View newest version in sPHENIX GitHub at line 42 of file ZipOutputStreamBuffer.h
Referenced by close(), closeEntry(), putNextEntry(), and ZipOutputStreamBuffer().
|
staticprivate |
Definition at line 46 of file ZipOutputStreamBuffer.h.
View newest version in sPHENIX GitHub at line 46 of file ZipOutputStreamBuffer.h
Referenced by closeEntry().
|
staticprivate |
Definition at line 52 of file ZipOutputStreamBuffer.h.
View newest version in sPHENIX GitHub at line 52 of file ZipOutputStreamBuffer.h
Referenced by close(), and putNextEntry().
|
staticprivate |
Definition at line 45 of file ZipOutputStreamBuffer.h.
View newest version in sPHENIX GitHub at line 45 of file ZipOutputStreamBuffer.h
Referenced by putNextEntry().
|
staticprivate |
Definition at line 51 of file ZipOutputStreamBuffer.h.
View newest version in sPHENIX GitHub at line 51 of file ZipOutputStreamBuffer.h
Referenced by close(), and putNextEntry().
|
staticprivate |
Definition at line 50 of file ZipOutputStreamBuffer.h.
View newest version in sPHENIX GitHub at line 50 of file ZipOutputStreamBuffer.h
Referenced by close().