Class FileHelper#

Class Documentation#

class FileHelper#

Public Static Functions

static inline void ensureParentFolderExists(const std::string &path)#
static inline void ensureFolderExists(const std::string &folder)#
static inline void eraseFolder(const std::string &folder)#
static inline std::string concatenatePaths(const std::string &path1, const std::string &path2)#
static inline std::string getParentFolder(const std::string &aPath)#
static inline std::string getFileName(const std::string &aPath)#
static inline std::string makeAbsoluteNormalizedPath(const std::string &path, const std::string &workingDirectory)#
static inline bool isAbsolutePath(const std::string &path)#
static inline bool areEquivalentPaths(const std::string &path1, const std::string &path2)#
static inline std::string getIncludedFilePath(const std::list<std::string> &prefixPaths, const std::string &includedPath)#
static inline std::string getRelativePath(const std::string &fromFolder, const std::string &toPath)#
static inline bool fileExists(const std::string &fullFileName)#
static inline bool isNotEmptyFolder(const std::string &fullFolderName)#
static inline std::string normalizePath(const std::string &aPath)#
static inline std::string getNormalizedContainingFileName(PreprocessingInfo *preprocessingInfo)#
static inline std::string pickMoreGeneralPath(const std::string &path1, const std::string &path2)#
static inline std::string getTextualPart(const std::string &path)#
static inline int countUpsToParentFolder(const std::string &path)#
static inline bool endsWith(const std::string &str1, const std::string &str2)#

Public Static Attributes

static const std::string pathDelimiter#