zipios++
2.0.2
Zipios++ – a small C++ library that provides easy access to .zip files.
|
Functions | |
void | writeZipCentralDirectory (std::ostream &os, FileEntry::vector_t &entries, std::string const &comment) |
Help function used to write the central directory. More... | |
void zipios::anonymous_namespace{zipoutputstreambuf.cpp}::writeZipCentralDirectory | ( | std::ostream & | os, |
FileEntry::vector_t & | entries, | ||
std::string const & | comment | ||
) |
When you create a Zip archive, it includes a central directory where all the meta data about each file is saved. This function saves an array of entries in an output stream to generate the Zip file central directory.
[in] | os | The output stream. |
[in] | entries | The array of entries to save in this central directory. |
[in] | comment | The zip archive global comment. |
Definition at line 56 of file zipoutputstreambuf.cpp.
References zipios::ZipEndOfCentralDirectory::setCentralDirectorySize(), zipios::ZipEndOfCentralDirectory::setCount(), zipios::ZipEndOfCentralDirectory::setOffset(), and zipios::ZipEndOfCentralDirectory::write().
Referenced by zipios::ZipOutputStreambuf::finish().