Home | All Classes | Grouped Classes | Index | Search
Saves zip archive.
void save(); void save( const std::string& filename);
Parameters:
Detailed description:
If no filename parameter was passed, it will modify the zip archive loaded at construction time. It does this by creating a temporary file, saving the new archive, deletes the old one and renames the temp file to the original archive filename.
If the archive was created instead of loaded, a filename must be specify a filename. Likewise, if saving to same archive as loaded from, a filename must not be specified. Doing so will cause the save operation to fail.
See also: