SPH
|
Iterator allowing to enumerate files and subdirectories in given directory. More...
#include <FileSystem.h>
Public Member Functions | |
DirectoryIterator & | operator++ () |
Moves to the next file in the directory. More... | |
Path | operator* () const |
Return the path of the file. The path is returned relative to the parent directory. More... | |
bool | operator== (const DirectoryIterator &other) const |
Checks for equality. Returns true in case both iterators are nullptr. More... | |
bool | operator!= (const DirectoryIterator &other) const |
Checks for inequality. Returns false in case both iterators are nullptr. More... | |
Friends | |
class | DirectoryAdapter |
Iterator allowing to enumerate files and subdirectories in given directory.
Definition at line 112 of file FileSystem.h.
bool FileSystem::DirectoryIterator::operator!= | ( | const DirectoryIterator & | other | ) | const |
Checks for inequality. Returns false in case both iterators are nullptr.
Definition at line 305 of file FileSystem.cpp.
Path FileSystem::DirectoryIterator::operator* | ( | ) | const |
Return the path of the file. The path is returned relative to the parent directory.
Definition at line 296 of file FileSystem.cpp.
FileSystem::DirectoryIterator & FileSystem::DirectoryIterator::operator++ | ( | ) |
Moves to the next file in the directory.
Definition at line 286 of file FileSystem.cpp.
bool FileSystem::DirectoryIterator::operator== | ( | const DirectoryIterator & | other | ) | const |
Checks for equality. Returns true in case both iterators are nullptr.
Definition at line 301 of file FileSystem.cpp.
|
friend |
Definition at line 113 of file FileSystem.h.