2 #ifndef ZIPIOS_ZIPFILE_HPP
3 #define ZIPIOS_ZIPFILE_HPP
The ZipFile class represents a collection of files.
virtual pointer_t clone() const override
Create a clone of this ZipFile.
std::shared_ptr< FileCollection > pointer_t
static void saveCollectionToArchive(std::ostream &os, FileCollection &collection, std::string const &zip_comment="")
Create a Zip archive from the specified FileCollection.
Define the zipios::VirtualSeeker class.
std::shared_ptr< std::istream > stream_pointer_t
A shared pointer to an input stream.
Define the zipios::FileCollection class.
A virtual class used to see in a file embedded in another.
ZipFile()
Initialize a ZipFile object.
virtual ~ZipFile() override
Clean up the ZipFile object.
static pointer_t openEmbeddedZipFile(std::string const &name)
Open a zip archive that was previously appened to another file.
Base class for various file collections.
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.