A class for iterating over all items in a directory.
More...
#include <Filesystem.hh>
A class for iterating over all items in a directory.
sdf::filesystem::DirIter::DirIter |
( |
const std::string & |
_in | ) |
|
|
explicit |
Constructor.
- Parameters
-
[in] | _in | Directory to iterate over. |
sdf::filesystem::DirIter::DirIter |
( |
| ) |
|
Constructor for end element.
sdf::filesystem::DirIter::~DirIter |
( |
| ) |
|
bool sdf::filesystem::DirIter::operator!= |
( |
const DirIter & |
_other | ) |
const |
Comparison operator to see if this iterator is at the same point as another iterator.
- Parameters
-
[in] | _other | The other iterator to compare against. |
- Returns
- true if the iterators are equal, false otherwise.
std::string sdf::filesystem::DirIter::operator* |
( |
| ) |
const |
Dereference operator; returns current directory record.
- Returns
- A string representing the entire path of the directory record.
const DirIter& sdf::filesystem::DirIter::operator++ |
( |
| ) |
|
Pre-increment operator; moves to next directory record.
- Returns
- This iterator.
The documentation for this class was generated from the following file: