Skip to content

FileHelper

Synopsis

Declared in <support/FileHelper.h>

class FileHelper;

Static Member Functions

Name
areEquivalentPaths
static bool areEquivalentPaths( std::string const& path1, std::string const& path2);
concatenatePaths
static std::string concatenatePaths( std::string const& path1, std::string const& path2);
countUpsToParentFolder
static int countUpsToParentFolder(std::string const& path);
ensureFolderExists
static void ensureFolderExists(std::string const& folder);
ensureParentFolderExists
static void ensureParentFolderExists(std::string const& path);
fileExists
static bool fileExists(std::string const& fullFileName);
getFileName
static std::string getFileName(std::string const& aPath);
getParentFolder
static std::string getParentFolder(std::string const& aPath);
getRelativePath
static std::string getRelativePath( std::string const& fromFolder, std::string const& toPath);
getTextualPart
static std::string getTextualPart(std::string const& path);
isAbsolutePath
static bool isAbsolutePath(std::string const& path);
isNotEmptyFolder
static bool isNotEmptyFolder(std::string const& fullFolderName);
normalizePath
static std::string normalizePath(std::string const& aPath);
normalizePathIfPossible
static std::string normalizePathIfPossible(std::string const& path);

Static Data Members

Name
pathDelimiter

Created with MrDocs