lfilesystem
0.0.1
C++ filesystem library
|
An iterator class that allows iterating a directory like a standard C++ container. More...
#include <lfilesystem_Directory.h>
Public Types | |
using | difference_type = std::ptrdiff_t |
using | iterator_category = std::forward_iterator_tag |
using | pointer = FilesystemEntry * |
using | reference = FilesystemEntry & |
using | value_type = FilesystemEntry |
Public Member Functions | |
Iterator (const Iterator &)=default | |
Iterator (Iterator &&)=default | |
bool | operator!= (Iterator other) |
reference | operator* () const |
Iterator & | operator++ () |
Iterator | operator++ (int) |
pointer | operator-> () const |
Iterator & | operator= (const Iterator &)=default |
Iterator & | operator= (Iterator &&)=default |
bool | operator== (Iterator other) |
An iterator class that allows iterating a directory like a standard C++ container.
The directory class will create an array of all its children when you call begin()
; the iterator will advance through this array as you increment it.
Definition at line 258 of file lfilesystem_Directory.h.