WRApplication
External kratos "application" for multiscale time integration.
|
A read-only iterator over the items of a delimited file. More...
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = std::string |
using | difference_type = std::ptrdiff_t |
using | pointer = void |
using | reference = void |
using | FileAccess = FileContentIterator::FileAccess |
Public Member Functions | |
FileStringIterator (std::shared_ptr< FileAccess > &&rpFileAccess, char delimiter='\n') | |
FileStringIterator (const std::shared_ptr< FileAccess > &rpFileAccess, char delimiter='\n') | |
FileStringIterator (FileStringIterator &&rOther)=default | |
FileStringIterator (const FileStringIterator &rOther)=default | |
FileStringIterator & | operator= (FileStringIterator &&rOther)=default |
FileStringIterator & | operator= (const FileStringIterator &rOther)=default |
FileStringIterator & | operator++ () |
FileStringIterator | operator++ (int) |
value_type | operator* () const |
void | SeekEOF () |
Set the iterator to the end of the file. More... | |
Friends | |
bool | operator== (const FileStringIterator &rLeft, const FileStringIterator &rRight) |
bool | operator!= (const FileStringIterator &rLeft, const FileStringIterator &rRight) |
bool | operator< (const FileStringIterator &rLeft, const FileStringIterator &rRight) |
A read-only iterator over the items of a delimited file.
This is a wrapper class around FileContentIterator but with std::string as value_type;
using difference_type = std::ptrdiff_t |
using iterator_category = std::forward_iterator_tag |
using pointer = void |
using reference = void |
using value_type = std::string |
FileStringIterator | ( | std::shared_ptr< FileAccess > && | rpFileAccess, |
char | delimiter = '\n' |
||
) |
FileStringIterator | ( | const std::shared_ptr< FileAccess > & | rpFileAccess, |
char | delimiter = '\n' |
||
) |
|
default |
|
default |
value_type operator* | ( | ) | const |
FileStringIterator& operator++ | ( | ) |
FileStringIterator operator++ | ( | int | ) |
|
default |
|
default |
void SeekEOF | ( | ) |
Set the iterator to the end of the file.
|
friend |
|
friend |
|
friend |