7 #ifndef __FWZIP_READZIPARCHIVE_HPP__ 8 #define __FWZIP_READZIPARCHIVE_HPP__ 10 #include "fwZip/config.hpp" 11 #include "fwZip/IReadArchive.hpp" 15 #include <boost/filesystem/path.hpp> 31 ((( const ::boost::filesystem::path& ))),
32 std::make_shared< ReadZipArchive >);
40 FWZIP_API
ReadZipArchive( const ::boost::filesystem::path& archive );
50 FWZIP_API
SPTR(std::istream) getFile(const ::
boost::filesystem::path &path) override;
57 FWZIP_API
std::
string getComment();
62 FWZIP_API const ::
boost::filesystem::path getArchivePath() const override;
68 return ReadZipArchive::New(m_archive);
73 ::boost::filesystem::path m_archive;
This class defines functions to read a file in a zip archive.
This file defines fwCore base macros.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
The namespace fwZip provides IO for compress/uncompress .zip files using zlib .
This interface defines functions to read a file in an archive.