Nebula
|
#include <list.h>
the list iterator
Public Member Functions | |
Iterator () | |
default constructor | |
Iterator (Node *node) | |
constructor | |
Iterator (const Iterator &rhs) | |
copy constructor | |
const Iterator & | operator= (const Iterator &rhs) |
assignment operator | |
bool | operator== (const Iterator &rhs) const |
equality operator | |
bool | operator!= (const Iterator &rhs) const |
inequality operator | |
const Iterator & | operator++ () |
pre-increment operator | |
Iterator | operator++ (int) |
post-increment operator | |
const Iterator & | operator-- () |
pre-decrement operator | |
Iterator | operator-- (int) |
post-increment operator | |
operator bool () const | |
bool operator | |
TYPE * | operator-> () const |
safe -> operator | |
TYPE & | operator* () const |
safe dereference operator | |
Private Member Functions | |
Node * | GetNode () const |
access to node | |
Private Attributes | |
Node * | node |
Friends | |
class | List< TYPE > |
Util::List< TYPE >::Iterator::Iterator | ( | ) |
default constructor
Util::List< TYPE >::Iterator::Iterator | ( | Node * | node | ) |
constructor
Util::List< TYPE >::Iterator::Iterator | ( | const Iterator & | rhs | ) |
copy constructor
|
private |
access to node
Util::List< TYPE >::Iterator::operator bool | ( | ) | const |
bool operator
bool Util::List< TYPE >::Iterator::operator!= | ( | const Iterator & | rhs | ) | const |
inequality operator
TYPE & Util::List< TYPE >::Iterator::operator* | ( | ) | const |
safe dereference operator
const List< TYPE >::Iterator & Util::List< TYPE >::Iterator::operator++ | ( | ) |
pre-increment operator
List< TYPE >::Iterator Util::List< TYPE >::Iterator::operator++ | ( | int | ) |
post-increment operator
const List< TYPE >::Iterator & Util::List< TYPE >::Iterator::operator-- | ( | ) |
pre-decrement operator
List< TYPE >::Iterator Util::List< TYPE >::Iterator::operator-- | ( | int | ) |
post-increment operator
TYPE * Util::List< TYPE >::Iterator::operator-> | ( | ) | const |
safe -> operator
const List< TYPE >::Iterator & Util::List< TYPE >::Iterator::operator= | ( | const Iterator & | rhs | ) |
assignment operator
bool Util::List< TYPE >::Iterator::operator== | ( | const Iterator & | rhs | ) | const |
equality operator
|
friend |
|
private |