lfilesystem
0.0.1
C++ filesystem library
|
An iterator class that allows iterating a file like a standard C++ container. More...
#include <lfilesystem_File.h>
Public Types | |
using | difference_type = std::ptrdiff_t |
using | iterator_category = std::forward_iterator_tag |
using | pointer = std::string * |
using | reference = std::string & |
using | value_type = std::string |
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 file like a standard C++ container.
The iterator will advance through the file line-by-line. The file class will create an array of all its lines when you call begin()
; the iterator will advance through this array as you increment it.
Definition at line 294 of file lfilesystem_File.h.