Public Member Functions | |
iterator (NListNode< T > *node) | |
Constructs a NList::iterator. | |
iterator (const iterator &other) | |
Copy constructs a NList::iterator. | |
~iterator (void) | |
Destroys a NList::iterator object. | |
iterator & | operator= (const iterator &rhs) |
Copies another NList::iterator. | |
bool | operator!= (const iterator &rhs) const |
Tests whether whether the current object is different of another. | |
bool | operator== (const iterator &rhs) const |
Tests whether whether the current object equals another. | |
iterator | operator++ (int) |
Moves forward on the list. | |
const iterator & | operator++ (void) const |
Moves forward on the list. | |
const iterator | operator++ (int) const |
Moves forward on the list. | |
T & | operator * (void) |
Gets the data of the iterator. | |
const T & | operator * (void) const |
Gets the data of the iterator. | |
T * | operator-> (void) |
Gets the address of the iterator's data. | |
const T * | operator-> (void) const |
Gets the address of the iterator's data. |
Definition at line 552 of file nlist.hpp.
Copy constructs a NList::iterator.
other | Another NList::iterator |
Definition at line 566 of file nlist.hpp.
References m_node, and NList::m_node.
Copies another NList::iterator.
rhs | Another NList::iterator |
Definition at line 580 of file nlist.hpp.
References m_node, and NList::m_node.
bool operator!= | ( | const iterator & | rhs | ) | const [inline] |
Tests whether whether the current object is different of another.
rhs | The object to be tested against |
Definition at line 592 of file nlist.hpp.
References m_node, and NList::m_node.
bool operator== | ( | const iterator & | rhs | ) | const [inline] |
Tests whether whether the current object equals another.
rhs | The object to be tested against |
Definition at line 614 of file nlist.hpp.
References m_node, and NList::m_node.
iterator operator++ | ( | int | ) | [inline] |
const iterator& operator++ | ( | void | ) | const [inline] |
Moves forward on the list.
Definition at line 645 of file nlist.hpp.
References NList::m_node.
const iterator operator++ | ( | int | ) | const [inline] |
T& operator * | ( | void | ) | [inline] |
Gets the data of the iterator.
Definition at line 668 of file nlist.hpp.
References NList::m_node.
const T& operator * | ( | void | ) | const [inline] |
Gets the data of the iterator.
Definition at line 676 of file nlist.hpp.
References NList::m_node.
T* operator-> | ( | void | ) | [inline] |
Gets the address of the iterator's data.
Definition at line 684 of file nlist.hpp.
References NList::m_node.
const T* operator-> | ( | void | ) | const [inline] |
Gets the address of the iterator's data.
Definition at line 692 of file nlist.hpp.
References NList::m_node.