FileHelper¶
Synopsis¶
Declared in <support/FileHelper.h>
class FileHelper; Static Member Functions¶
| Name |
|---|
areEquivalentPathsstatic bool areEquivalentPaths( std::string const& path1, std::string const& path2); |
concatenatePathsstatic std::string concatenatePaths( std::string const& path1, std::string const& path2); |
countUpsToParentFolderstatic int countUpsToParentFolder(std::string const& path); |
ensureFolderExistsstatic void ensureFolderExists(std::string const& folder); |
ensureParentFolderExistsstatic void ensureParentFolderExists(std::string const& path); |
fileExistsstatic bool fileExists(std::string const& fullFileName); |
getFileNamestatic std::string getFileName(std::string const& aPath); |
getParentFolderstatic std::string getParentFolder(std::string const& aPath); |
getRelativePathstatic std::string getRelativePath( std::string const& fromFolder, std::string const& toPath); |
getTextualPartstatic std::string getTextualPart(std::string const& path); |
isAbsolutePathstatic bool isAbsolutePath(std::string const& path); |
isNotEmptyFolderstatic bool isNotEmptyFolder(std::string const& fullFolderName); |
normalizePathstatic std::string normalizePath(std::string const& aPath); |
normalizePathIfPossiblestatic std::string normalizePathIfPossible(std::string const& path); |
Static Data Members¶
| Name |
|---|
pathDelimiter |
Created with MrDocs