7 #ifndef __FWZIP_IREADARCHIVE_HPP__ 8 #define __FWZIP_IREADARCHIVE_HPP__ 12 #include <boost/filesystem/path.hpp> 38 virtual SPTR(std::istream)
getFile(const ::boost::filesystem::path &path) = 0;
43 virtual const ::boost::filesystem::path
getArchivePath()
const = 0;
45 virtual IReadArchive::sptr clone()
const = 0;
virtual std::shared_ptr< std::istream > getFile(const ::boost::filesystem::path &path)=0
Returns input stream for the file in current archive.
This file defines fwCore base macros.
The namespace fwZip provides IO for compress/uncompress .zip files using zlib .
#define fwCoreBaseClassDefinitionsMacro(_classinfo_)
Generate common code for a base class (Interfaces, Abstract classes, ...)
This interface defines functions to read a file in an archive.
virtual const ::boost::filesystem::path getArchivePath() const =0
Returns archive path.