17#define WIN_STR_FILTER(filesType, types) filesType "\0" types "\0All\0*.*\0"
27void ExtendVector(std::vector<T>* a,
const std::vector<T>& b) {
39std::vector<std::string> GetNWlist(std::string path);
67 const void*
Get()
const;
88std::vector<int> GetRecusivelyFilesNumber(
const std::string&
directory);
105std::vector<std::string> GetRecusivelyDirFiles(
const std::string&
directory);
115int AccumulateChildren(std::vector<int>* a, std::vector<int>* b,
int index = 0);
122std::string GetCurrentDir();
129std::string GetExePath();
137std::string GetFile(
const char*
type =
"Text Files\0*.txt\0*.*\0");
145std::string SaveAs(
const char*
type =
"Text Files\0*.txt\0*.*\0");
153std::string ToSingleBackSlash(
const std::string&
dir);
161std::string ToDoubleBackSlash(
const std::string&
dir);
172std::string GetFileName(std::string path, std::string*
bFilename =
nullptr, std::string*
bExtension =
nullptr, std::string*
bRoot =
nullptr);
181bool CopyDirectory(
const std::string&
dest,
const std::string&
src);
189bool MakeDir(
const std::string& path);
197bool MakeFile(
const std::string& path);
215bool FileExists(std::string
dir);
223bool Exec(std::string
cmd);
231bool FileDelete(std::string name);
241bool FileMove(std::string
dest, std::string source,
bool failIfExists =
false);
A handle to a dynamic-link library (DLL)
Definition Utilities.h:52
const void * Get() const
Get the pointer to the loaded DLL.
Definition Utilities.cpp:27