40 #ifndef __OPENFLUID_TOOLS_FILESYSTEM_HPP__
41 #define __OPENFLUID_TOOLS_FILESYSTEM_HPP__
47 namespace openfluid {
namespace tools {
64 static std::string filename(
const std::string& Path);
75 static std::string basename(
const std::string& Path);
86 static std::string dirname(
const std::string& Path);
97 static std::string extension(
const std::string& Path);
103 static std::string currentPath();
110 static bool isDirectory(
const std::string& Path);
117 static bool isFile(
const std::string& Path);
125 static bool makeDirectory(
const std::string& Path);
132 static bool removeDirectory(
const std::string& Path);
139 static bool removeFile(
const std::string& Path);
147 static bool copyFile(
const std::string& SrcPath,
const std::string& DestPath);
157 static bool copyDirectory(
const std::string& SrcPath,
const std::string& DestPath,
158 const bool DontCopyDotDirs =
false);
Definition: Filesystem.hpp:50
#define OPENFLUID_API
Definition: dllexport.hpp:87