30 #ifndef GUM_DIR_UTILS_H 31 #define GUM_DIR_UTILS_H 71 static bool isDir(
const std::string&
path);
105 std::vector< std::string >
entries()
const;
117 std::string
path()
const;
143 #endif // GUM_DIR_UTILS_H Cross-platform directory utility.
std::string m_dirName
The directory path.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
DIR * m_dirPtr
A pointer towards the Directory stream.
bool isValid() const
Returns true if directory has been opened, false otherwise.
Directory & operator=(const Directory &d)
Copy operator.
std::string absolutePath() const
Returns directory absolute path.
std::vector< std::string > entries() const
Return directory content.
Directory parent() const
Returns directory parent.
static bool isDir(const std::string &path)
&brief Return true if directory is a valid directory, false otherwise.
std::string path() const
Returns directory path.