NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include <zip++.hpp>
Public Member Functions | |
Zipfile () | |
~Zipfile () | |
bool | open (const std::string &sZipFilename, int nOpenmode=0) |
bool | is_open () const |
bool | close () |
bool | addFile (const std::string &sFilename) |
std::string | getZipContent () |
std::string | getZipItem (const std::string &sFilename) |
Private Attributes | |
HZIP | hZip |
ZIPENTRY | zEntry |
bool | bIsOpen |
Zipfile::~Zipfile | ( | ) |
bool Zipfile::addFile | ( | const std::string & | sFilename | ) |
bool Zipfile::close | ( | ) |
std::string Zipfile::getZipContent | ( | ) |
Definition at line 79 of file zip++.cpp.
References bIsOpen, GetZipItem(), hZip, ZIPENTRY::unc_size, UnzipItem(), zEntry, ZR_MORE, and ZR_OK.
std::string Zipfile::getZipItem | ( | const std::string & | sFilename | ) |
Definition at line 106 of file zip++.cpp.
References bIsOpen, FindZipItem(), hZip, ZIPENTRY::unc_size, UnzipItem(), zEntry, and ZR_OK.
Referenced by NumeRe::GenericFile::getZipFileItem().
bool Zipfile::open | ( | const std::string & | sZipFilename, |
int | nOpenmode = 0 |
||
) |
Definition at line 38 of file zip++.cpp.
References bIsOpen, CloseZip, CreateZip(), hZip, and OpenZip().
Referenced by NumeRe::GenericFile::getZipFileItem().
|
private |
Definition at line 39 of file zip++.hpp.
Referenced by addFile(), close(), getZipContent(), getZipItem(), is_open(), open(), Zipfile(), and ~Zipfile().
|
private |
Definition at line 37 of file zip++.hpp.
Referenced by addFile(), close(), getZipContent(), getZipItem(), open(), Zipfile(), and ~Zipfile().
|
private |
Definition at line 38 of file zip++.hpp.
Referenced by getZipContent(), and getZipItem().