doxygen
Classes | Public Member Functions | Static Public Member Functions | List of all members
Dir Class Referencefinal

Class representing a directory in the file system. More...

#include <dir.h>

Classes

struct  Private
 

Public Member Functions

 Dir (const std::string &path)
 
 Dir (const Dir &d)
 
Diroperator= (const Dir &d)
 
void setPath (const std::string &path)
 
std::string path () const
 
DirIterator iterator () const
 
bool isEmpty (const std::string subdir) const
 
bool exists () const
 
std::string filePath (const std::string &path, bool acceptsAbsPath=true) const
 
bool exists (const std::string &path, bool acceptsAbsPath=true) const
 
bool mkdir (const std::string &path, bool acceptsAbsPath=true) const
 
bool rmdir (const std::string &path, bool acceptsAbsPath=true) const
 
bool remove (const std::string &path, bool acceptsAbsPath=true) const
 
bool rename (const std::string &orgName, const std::string &newName, bool acceptsAbsPath=true) const
 
bool copy (const std::string &src, const std::string &dest, bool acceptsAbsPath=true) const
 
std::string absPath () const
 
bool isRelative () const
 

Static Public Member Functions

static bool isRelativePath (const std::string &path)
 
static std::string currentDirPath ()
 
static bool setCurrent (const std::string &path)
 
static std::string cleanDirPath (const std::string &path)
 

Detailed Description

Class representing a directory in the file system.


The documentation for this class was generated from the following files: