Nvwa
1.1
|
Iterator that contains the line content. More...
#include <file_line_reader.h>
Public Member Functions | |
iterator (file_line_reader *reader) | |
Constructs the beginning iterator. More... | |
~iterator () | |
Destuctor. More... | |
iterator (const iterator &rhs) | |
Copy-constructor. More... | |
iterator & | operator= (const iterator &rhs) |
Assignment. More... | |
void | swap (iterator &rhs) noexcept |
Swaps the iterator with another. More... | |
Iterator that contains the line content.
The iterator owns the content.
|
explicit |
Constructs the beginning iterator.
reader | pointer to the file_line_reader object |
nvwa::file_line_reader::iterator::~iterator | ( | ) |
Destuctor.
nvwa::file_line_reader::iterator::iterator | ( | const iterator & | rhs | ) |
Copy-constructor.
The line content will be copied to the newly constructed iterator.
rhs | the iterator to copy from |
file_line_reader::iterator & nvwa::file_line_reader::iterator::operator= | ( | const iterator & | rhs | ) |
Assignment.
The line content will be copied to the newly constructed iterator.
rhs | the iterator to copy from |
|
noexcept |
Swaps the iterator with another.
rhs | the iterator to swap with |