27 #define BASEFILE_HH BASEFILE_HH 37 #if defined(BaseFunctions_EXPORTS) 38 #define BASEFUNCTIONSDLL_API __declspec(dllexport) 39 #elif defined(BaseFunctions_USE_DLL) 40 #define BASEFUNCTIONSDLL_API __declspec(dllimport) 42 #define BASEFUNCTIONSDLL_API 45 #define BASEFUNCTIONSDLL_API 57 static std::string BaseName(
const std::string& aPathName);
66 static std::string DirName(
const std::string& aPathName);
78 static std::string BaseNamePath(
const std::string& aPathName);
89 static bool Exists(
const std::string& aPathName);
99 static bool IsFile(
const std::string& aPathName);
109 static bool IsLink(
const std::string& aPathName);
119 static bool IsDirectory(
const std::string& aPathName);
129 static bool DirectoryCreate(
const std::string& aPathName);
141 const std::string& aInputDir, std::vector<std::string>& aFiles,
142 const std::string& aPattern);
151 static bool Remove(
const std::string& aPathName);
161 static bool Move(
const std::string& aOldName,
const std::string& aNewName);
171 static bool Copy(
const std::string& aOldName,
const std::string& aNewName);
181 FindUniqueUnexistingName(std::string
const &aBaseName,
char aPattern);
191 static std::string BeautifyFilePath(
const std::string& aPath);
195 static char* realpath(
const char *source,
char *target);
#define BASEFUNCTIONSDLL_API