|
fw4spl
|
This interface defines functions to write a file in an archive. More...
#include <IWriteArchive.hpp>
Inheritance diagram for fwZip::IWriteArchive:Public Member Functions | |
| virtual bool | isA (const std::string &type) const |
| virtual std::shared_ptr< std::ostream > | createFile (const ::boost::filesystem::path &path)=0 |
| Creates a new file entry in archive and returns output stream for this file. More... | |
| virtual void | putFile (const ::boost::filesystem::path &sourceFile, const ::boost::filesystem::path &path)=0 |
| Writes source file in archive. More... | |
| virtual bool | createDir (const ::boost::filesystem::path &path)=0 |
| Creates a folder in archive. More... | |
| virtual const ::boost::filesystem::path | getArchivePath () const =0 |
| Returns archive path. | |
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 write a file in an archive.
Definition at line 22 of file IWriteArchive.hpp.
|
pure virtual |
Creates a folder in archive.
| path | folder to create in archive. |
Implemented in fwZip::WriteZipArchive, and fwZip::WriteDirArchive.
Referenced by leafClassname().
Here is the caller graph for this function:
|
pure virtual |
Creates a new file entry in archive and returns output stream for this file.
| path | file in archive. |
Implemented in fwZip::WriteZipArchive, and fwZip::WriteDirArchive.
Referenced by leafClassname().
Here is the caller graph for this function:
|
pure virtual |
Writes source file in archive.
| sourceFile | source file. |
| path | file in archive. |
Implemented in fwZip::WriteZipArchive, and fwZip::WriteDirArchive.
Referenced by leafClassname().
Here is the caller graph for this function: