fw4spl
|
This interface defines functions to read a file in an archive. More...
#include <IReadArchive.hpp>
Public Member Functions | |
virtual bool | isA (const std::string &type) const |
virtual std::shared_ptr< std::istream > | getFile (const ::boost::filesystem::path &path)=0 |
Returns input stream for the file in current archive. More... | |
virtual const ::boost::filesystem::path | getArchivePath () const =0 |
Returns archive path. | |
virtual IReadArchive::sptr | clone () const =0 |
Static Public Member Functions | |
static bool | isTypeOf (const std::string &type) |
Demangling methods | |
virtual const std::string & | getLeafClassname () const |
return object's classname without its namespace, i.e. BaseObject | |
virtual const std::string & | getClassname () const |
return full object's classname with its namespace, i.e. fwCore::BaseObject | |
static const std::string & | leafClassname () |
return object's classname without its namespace, i.e. BaseObject | |
static const std::string & | classname () |
return object's classname without its namespace, i.e. BaseObject | |
This interface defines functions to read a file in an archive.
Definition at line 22 of file IReadArchive.hpp.
|
pure virtual |
Returns input stream for the file in current archive.
path | file in archive. |
Implemented in fwZip::ReadZipArchive, and fwZip::ReadDirArchive.
Referenced by leafClassname().