44 static bool exists(
const std::string & dirPath);
51 static std::string
getDir(
const std::string & filePath);
58 static std::string
currentDir(
bool trailingSeparator =
false);
65 static bool makeDir(
const std::string & dirPath);
72 static bool removeDir(
const std::string & dirPath);
92 UDirectory(
const std::string & path =
"",
const std::string & extensions =
"");
101 void setPath(
const std::string & path,
const std::string & extensions =
"");
static std::string homeDir()
static bool makeDir(const std::string &dirPath)
std::list< std::string > fileNames_
static std::string getDir(const std::string &filePath)
UDirectory(const std::string &path="", const std::string &extensions="")
static std::string separator()
UDirectory & operator=(const UDirectory &dir)
const std::list< std::string > & getFileNames() const
std::vector< std::string > extensions_
static std::string currentDir(bool trailingSeparator=false)
void setPath(const std::string &path, const std::string &extensions="")
std::list< std::string >::iterator iFileName_
std::string getNextFileName()
static bool removeDir(const std::string &dirPath)
static bool exists(const std::string &dirPath)