35 std::string
path()
const;
40 std::unique_ptr<Private>
p;
70 std::unique_ptr<Private>
p;
85 std::string
path()
const;
89 bool isEmpty(
const std::string subdir)
const;
91 std::string
filePath(
const std::string &
path,
bool acceptsAbsPath=
true)
const;
92 bool exists(
const std::string &
path,
bool acceptsAbsPath=
true)
const;
93 bool mkdir(
const std::string &
path,
bool acceptsAbsPath=
true)
const;
94 bool rmdir(
const std::string &
path,
bool acceptsAbsPath=
true)
const;
95 bool remove(
const std::string &
path,
bool acceptsAbsPath=
true)
const;
96 bool rename(
const std::string &orgName,
const std::string &newName,
97 bool acceptsAbsPath=
true)
const;
98 bool copy(
const std::string &src,
const std::string &dest,
bool acceptsAbsPath=
true)
const;
110 std::unique_ptr<Private>
p;
DirEntry(const DirEntry &)
bool is_directory() const
bool is_regular_file() const
std::unique_ptr< Private > p
DirEntry & operator=(const DirEntry &)
static std::string currentDirPath()
bool isEmpty(const std::string subdir) const
Dir & operator=(const Dir &d)
std::string absPath() const
bool mkdir(const std::string &path, bool acceptsAbsPath=true) const
void setPath(const std::string &path)
static bool isRelativePath(const std::string &path)
bool remove(const std::string &path, bool acceptsAbsPath=true) const
bool copy(const std::string &src, const std::string &dest, bool acceptsAbsPath=true) const
std::string filePath(const std::string &path, bool acceptsAbsPath=true) const
DirIterator iterator() const
bool rmdir(const std::string &path, bool acceptsAbsPath=true) const
bool rename(const std::string &orgName, const std::string &newName, bool acceptsAbsPath=true) const
static std::string cleanDirPath(const std::string &path)
static bool setCurrent(const std::string &path)
std::unique_ptr< Private > p
std::ptrdiff_t difference_type
DirIterator(const DirIterator &it)
std::input_iterator_tag iterator_category
const value_type & operator*() const
const value_type * operator->() const
friend bool operator==(const DirIterator &it1, const DirIterator &it2)
std::unique_ptr< Private > p
DirIterator & operator=(const DirIterator &it)
friend DirIterator begin(DirIterator it) noexcept
friend bool operator!=(const DirIterator &it1, const DirIterator &it2)
friend DirIterator end(const DirIterator &) noexcept