#include <FileTreeIterator.hpp>
Public Member Functions | |
FileTreeIterator () | |
FileTreeIterator (const std::string &path) | |
~FileTreeIterator () | |
void | operator++ (int) |
Moves to the next file within the directory tree. | |
void | operator++ () |
Moves to the next file within the directory tree. | |
bool | operator== (const FileTreeIterator &other) const |
bool | operator!= (const FileTreeIterator &other) const |
const std::string & | operator * () |
Returns the full path to a file within the directory tree. | |
Static Public Member Functions | |
const FileTreeIterator & | end () |
Private Member Functions | |
void | _nextCandidate () |
void | _next () |
Private Attributes | |
std::stack< DirectoryIterator * > | _stack |
std::string | _current |
Static Private Attributes | |
FileTreeIterator | _end |
|
|
|
|
|
|
|
|
|
|
|
Placeholder object that indicates a finished iteration. Use this with operator != to tell when iteration is finished. |
|
Returns the full path to a file within the directory tree.
|
|
Used only for comparison with FileTreeIterator::end. If true, the iteration is complete. |
|
Moves to the next file within the directory tree.
|
|
Moves to the next file within the directory tree.
|
|
Used only for comparison with FileTreeIterator::end. If false, the iteration is complete. |
|
|
|
|
|
|