27 #ifndef GUM_DIR_UTILS_H 28 #define GUM_DIR_UTILS_H 68 static bool isDir(
const std::string&
path);
102 std::vector< std::string >
entries()
const;
114 std::string
path()
const;
140 #endif // GUM_DIR_UTILS_H Cross-platform directory utility.
std::string m_dirName
The directory path.
gum is the global namespace for all aGrUM entities
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.