40 #ifndef __OPENFLUID_TOOLS_FILESYSTEM_HPP__ 41 #define __OPENFLUID_TOOLS_FILESYSTEM_HPP__ 69 static std::string joinPath(
const std::vector<std::string>& PathParts);
80 static std::string filename(
const std::string& Path);
91 static std::string basename(
const std::string& Path);
102 static std::string dirname(
const std::string& Path);
113 static std::string extension(
const std::string& Path);
119 static std::string currentPath();
126 static bool isDirectory(
const std::string& Path);
133 static bool isFile(
const std::string& Path);
141 static bool makeDirectory(
const std::string& Path);
148 static bool removeDirectory(
const std::string& Path);
158 static std::string makeUniqueSubdirectory(
const std::string& Path,
const std::string& SubdirName);
168 static std::string makeUniqueFile(
const std::string& Path,
const std::string& FileName);
176 static bool removeFile(
const std::string& Path);
184 static bool copyFile(
const std::string& SrcPath,
const std::string& DestPath);
194 static bool copyDirectory(
const std::string& SrcPath,
const std::string& DestPath,
195 const bool DontCopyDotDirs =
false);
Definition: Filesystem.hpp:53
Definition: ApplicationException.hpp:47
#define OPENFLUID_API
Definition: dllexport.hpp:86