A class for iterating over all items in a directory. More...
#include <Filesystem.hh>
Public Member Functions | |
| DirIter () | |
| Constructor for end element. | |
| DirIter (const std::string &_in) | |
| Constructor. | |
| ~DirIter () | |
| Destructor. | |
| bool | operator!= (const DirIter &_other) const |
| Comparison operator to see if this iterator is at the same point as another iterator. | |
| std::string | operator* () const |
| Dereference operator; returns current directory record. | |
| const DirIter & | operator++ () |
| Pre-increment operator; moves to next directory record. | |
A class for iterating over all items in a directory.
|
explicit |
Constructor.
| [in] | _in | Directory to iterate over. |
Referenced by operator!=(), and operator++().
| sdf::filesystem::DirIter::DirIter | ( | ) |
Constructor for end element.
| sdf::filesystem::DirIter::~DirIter | ( | ) |
Destructor.
| bool sdf::filesystem::DirIter::operator!= | ( | const DirIter & | _other | ) | const |
Comparison operator to see if this iterator is at the same point as another iterator.
| [in] | _other | The other iterator to compare against. |
References DirIter().
| std::string sdf::filesystem::DirIter::operator* | ( | ) | const |
Dereference operator; returns current directory record.
| const DirIter & sdf::filesystem::DirIter::operator++ | ( | ) |