#include <List.h>
Public Member Functions | |
| _list_iterator (node *cur_) | |
| node * | getNode () |
| DataType & | operator* () |
| const DataType & | operator* () const |
| _list_iterator | operator++ (int) const |
| _list_iterator | operator++ () const |
| _list_iterator | operator+ (unsigned n) const |
| bool | operator== (const _list_iterator &iter) const |
| bool | operator!= (const _list_iterator &iter) const |
Private Types | |
| typedef _list_node< DataType, KeyType > | node |
Private Member Functions | |
| void | move_to_next () const |
Private Attributes | |
| node * | cur |
Definition at line 77 of file List.h.
typedef _list_node<DataType, KeyType> _list_iterator< DataType, KeyType >::node [private] |
| _list_iterator< DataType, KeyType >::_list_iterator | ( | node * | cur_ | ) | [inline] |
| node* _list_iterator< DataType, KeyType >::getNode | ( | ) | [inline] |
Definition at line 89 of file List.h.
References _list_iterator< DataType, KeyType >::cur.
| void _list_iterator< DataType, KeyType >::move_to_next | ( | ) | const [inline, private] |
Definition at line 81 of file List.h.
References _list_iterator< DataType, KeyType >::cur, and _list_node< DataType, KeyType >::get_next_node().
Referenced by _list_iterator< DataType, KeyType >::operator++().
| bool _list_iterator< DataType, KeyType >::operator!= | ( | const _list_iterator< DataType, KeyType > & | iter | ) | const [inline] |
Definition at line 118 of file List.h.
References _list_iterator< DataType, KeyType >::cur.
| const DataType& _list_iterator< DataType, KeyType >::operator* | ( | ) | const [inline] |
Definition at line 94 of file List.h.
References _list_iterator< DataType, KeyType >::cur, and _list_node< DataType, KeyType >::data.
| DataType& _list_iterator< DataType, KeyType >::operator* | ( | ) | [inline] |
Definition at line 91 of file List.h.
References _list_iterator< DataType, KeyType >::cur, and _list_node< DataType, KeyType >::data.
| _list_iterator _list_iterator< DataType, KeyType >::operator+ | ( | unsigned | n | ) | const [inline] |
| _list_iterator _list_iterator< DataType, KeyType >::operator++ | ( | ) | const [inline] |
Definition at line 104 of file List.h.
References _list_iterator< DataType, KeyType >::move_to_next().
| _list_iterator _list_iterator< DataType, KeyType >::operator++ | ( | int | ) | const [inline] |
Definition at line 98 of file List.h.
References _list_iterator< DataType, KeyType >::move_to_next().
| bool _list_iterator< DataType, KeyType >::operator== | ( | const _list_iterator< DataType, KeyType > & | iter | ) | const [inline] |
Definition at line 115 of file List.h.
References _list_iterator< DataType, KeyType >::cur.
node* _list_iterator< DataType, KeyType >::cur [mutable, private] |
Definition at line 79 of file List.h.
Referenced by _list_iterator< DataType, KeyType >::getNode(), _list_iterator< DataType, KeyType >::move_to_next(), _list_iterator< DataType, KeyType >::operator!=(), _list_iterator< DataType, KeyType >::operator*(), and _list_iterator< DataType, KeyType >::operator==().
1.6.1