wibble
1.1
|
Nicely wrap access to directories. More...
#include <fs.h>
Classes | |
class | const_iterator |
Public Member Functions | |
Directory (const std::string &path) | |
~Directory () | |
const std::string & | path () const |
Pathname of the directory. More... | |
bool | exists () const |
Check if the directory exists. More... | |
const_iterator | begin () const |
Begin iterator. More... | |
const_iterator | end () const |
End iterator. More... | |
Protected Attributes | |
std::string | m_path |
Directory pathname. More... | |
Nicely wrap access to directories.
wibble::sys::fs::Directory::Directory | ( | const std::string & | path | ) |
Referenced by wibble::sys::fs::inode().
wibble::sys::fs::Directory::~Directory | ( | ) |
Referenced by wibble::sys::fs::inode().
const_iterator wibble::sys::fs::Directory::begin | ( | ) | const |
Begin iterator.
Referenced by TestFs::directoryIsdir(), TestFs::directoryIterate(), wibble::sys::fs::inode(), TestFs::invalidDirectories(), and path().
const_iterator wibble::sys::fs::Directory::end | ( | ) | const |
End iterator.
Referenced by TestFs::directoryIsdir(), TestFs::directoryIterate(), wibble::sys::fs::inode(), and path().
bool wibble::sys::fs::Directory::exists | ( | ) | const |
Check if the directory exists.
Referenced by wibble::sys::fs::inode(), TestFs::invalidDirectories(), and path().
|
inline |
Pathname of the directory.
References begin(), end(), exists(), and m_path.
Referenced by wibble::sys::fs::inode().
|
protected |
Directory pathname.
Referenced by wibble::sys::fs::inode(), and path().