#include <fs.h>
Public Member Functions | |
Directory (const std::string &path) | |
const std::string & | path () const |
Pathname of the directory. | |
bool | valid () |
Check that the directory exists and is a directory. | |
const_iterator | begin () |
Begin iterator. | |
const_iterator | end () const |
End iterator. | |
Classes | |
class | const_iterator |
wibble::sys::fs::Directory::Directory | ( | const std::string & | path | ) | [inline] |
const std::string& wibble::sys::fs::Directory::path | ( | ) | const [inline] |
bool wibble::sys::fs::Directory::valid | ( | ) |
Check that the directory exists and is a directory.
References path(), and wibble::sys::fs::stat().
Referenced by TestFs::invalidDirectories().
Directory::const_iterator wibble::sys::fs::Directory::begin | ( | ) |
Directory::const_iterator wibble::sys::fs::Directory::end | ( | ) | const |