13 #ifndef __vtkArchive_h 14 #define __vtkArchive_h 24 #include "vtkMRMLLogicExport.h" 30 const char* archiveFileNameFileName,
31 std::vector<std::string>& files);
35 VTK_MRML_LOGIC_EXPORT
bool extract_tar(
const char* tarFileName,
bool verbose,
bool extract,
36 std::vector<std::string> * extracted_files = 0);
40 VTK_MRML_LOGIC_EXPORT
bool zip(
const char* zipFileName,
const char* directoryToZip);
44 VTK_MRML_LOGIC_EXPORT
bool unzip(
const char* zipFileName,
const char *destinationDirectory);
VTK_MRML_LOGIC_EXPORT bool zip(const char *zipFileName, const char *directoryToZip)
VTK_MRML_LOGIC_EXPORT bool extract_tar(const char *tarFileName, bool verbose, bool extract, std::vector< std::string > *extracted_files=0)
VTK_MRML_LOGIC_EXPORT bool unzip(const char *zipFileName, const char *destinationDirectory)
VTK_MRML_LOGIC_EXPORT bool list_archive(const char *archiveFileNameFileName, std::vector< std::string > &files)