zipios
2.2.6
Zipios -- a small C++ library that provides easy access to .zip files.
|
Go to the documentation of this file.
2 #ifndef ZIPIOS_ZIPFILE_HPP
3 #define ZIPIOS_ZIPFILE_HPP
A virtual class used to see in a file embedded in another.
virtual pointer_t clone() const override
Create a clone of this ZipFile.
static void saveCollectionToArchive(std::ostream &os, FileCollection &collection, std::string const &zip_comment="")
Create a Zip archive from the specified FileCollection.
std::shared_ptr< std::istream > stream_pointer_t
A shared pointer to an input stream.
Define the zipios::VirtualSeeker class.
ZipFile()
Initialize a ZipFile object.
Base class for various file collections.
static pointer_t openEmbeddedZipFile(std::string const &name)
Open a zip archive that was previously appended to another file.
virtual ~ZipFile() override
Clean up the ZipFile object.
Define the zipios::FileCollection class.
The ZipFile class represents a collection of files.
virtual stream_pointer_t getInputStream(std::string const &entry_name, MatchPath matchpath=MatchPath::MATCH) override
Retrieve a pointer to a file in the Zip archive.
std::shared_ptr< FileCollection > pointer_t
The zipios namespace includes the Zipios library definitions.