VisioMove-Sample  2.1.3
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Pages
VgMyZipUtils Class Reference

Static Public Member Functions

static bool unzipFileToDirectory (const std::string &pZipFilePath, const std::string &pTargetDirectoryPath, bool pOverwriteFlag)
 Unzips a .zip file into a directory. More...
 
static bool makeDirectory (const std::string &pNewDirectory)
 Create (recursively) a directory. More...
 
static bool removeDirectory (const std::string &pDirectoryToRemove)
 Recursively removes a directory. More...
 
static bool findFile (const std::string &pFileName, const std::string &pStartPath, std::string &pResultPath)
 Find a file in a directory. More...
 

Member Function Documentation

static bool VgMyZipUtils::findFile ( const std::string &  pFileName,
const std::string &  pStartPath,
std::string &  pResultPath 
)
static

Find a file in a directory.

Returns
true if found and fills in resultPath.
static bool VgMyZipUtils::makeDirectory ( const std::string &  pNewDirectory)
static

Create (recursively) a directory.

Returns
false if it fails to create any intermediate directories.
static bool VgMyZipUtils::removeDirectory ( const std::string &  pDirectoryToRemove)
static

Recursively removes a directory.

Returns
false if it fails to remove intermediate directories.
static bool VgMyZipUtils::unzipFileToDirectory ( const std::string &  pZipFilePath,
const std::string &  pTargetDirectoryPath,
bool  pOverwriteFlag 
)
static

Unzips a .zip file into a directory.

Parameters
pZipFilePathpath to zip file
pTargetDirectoryPathwhere the file should be unzipped. if it does not exist, the path will be created
pOverwriteFlagif true, it overwrites existing files when unzipping.

The documentation for this class was generated from the following file:
VisioMove 2.1.3, Visioglobe® 2015