40 #ifndef __OPENFLUID_TOOLS_FILEHELPERS_HPP__ 41 #define __OPENFLUID_TOOLS_FILEHELPERS_HPP__ 59 const std::string& Ext,
60 bool WithPath =
false,
61 bool ExtIncludeDot =
false);
72 const std::string& Suffix,
73 const std::string& Ext,
74 bool WithPath =
false,
75 bool ExtIncludeDot =
false);
83 bool WithPath =
false);
101 const std::string& DestPath,
102 const bool DontCopyDotDirs =
false);
bool OPENFLUID_API emptyDirectoryRecursively(const std::string &Path)
void OPENFLUID_API copyDirectoryContentsRecursively(const std::string &SrcPath, const std::string &DestPath, const bool DontCopyDotDirs=false)
#define OPENFLUID_API
Definition: dllexport.hpp:87
std::vector< std::string > OPENFLUID_API findDirectories(const std::string &Path, bool WithPath=false)
std::vector< std::string > OPENFLUID_API findFilesBySuffixAndExtension(const std::string &Path, const std::string &Suffix, const std::string &Ext, bool WithPath=false, bool ExtIncludeDot=false)
std::vector< std::string > OPENFLUID_API findFilesByExtension(const std::string &Path, const std::string &Ext, bool WithPath=false, bool ExtIncludeDot=false)
Definition: ApplicationException.hpp:47