|
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. | |
| bool | exists () const |
| Check if the directory exists. | |
| const_iterator | begin () const |
| Begin iterator. | |
| const_iterator | end () const |
| End iterator. | |
Protected Attributes | |
| std::string | m_path |
| Directory pathname. | |
Nicely wrap access to directories.
| wibble::sys::fs::Directory::Directory | ( | const std::string & | path | ) |
| wibble::sys::fs::Directory::~Directory | ( | ) |
| const_iterator wibble::sys::fs::Directory::begin | ( | ) | const |
Begin iterator.
Referenced by TestFs::directoryIsdir(), and TestFs::directoryIterate().
| const_iterator wibble::sys::fs::Directory::end | ( | ) | const |
End iterator.
Referenced by TestFs::directoryIsdir(), and TestFs::directoryIterate().
| bool wibble::sys::fs::Directory::exists | ( | ) | const |
Check if the directory exists.
|
inline |
Pathname of the directory.
References m_path.