#include <cmt_list.h>
Collaboration diagram for cmt_list< T >::iterator:
Public Member Functions | |
iterator () | |
iterator (Node node) | |
iterator & | operator++ () |
iterator & | operator-- () |
int | operator== (const iterator &other) const |
int | operator!= (const iterator &other) const |
T & | operator * () const |
Node | get_node () const |
Private Attributes | |
Node | m_node |
|
Definition at line 39 of file cmt_list.h. References cmt_list< T >::iterator::m_node.
00039 : m_node (0) 00040 { 00041 } |
|
Definition at line 43 of file cmt_list.h. References cmt_list< T >::iterator::m_node, and cmt_list< T >::Node.
00043 : m_node (node) 00044 { 00045 } |
|
Definition at line 86 of file cmt_list.h. References cmt_list< T >::iterator::m_node, and cmt_list< T >::Node. Referenced by cmt_list< T >::erase(), cmt_list< T >::exchange(), cmt_list< T >::insert_after(), cmt_list< T >::insert_before(), cmt_list< T >::move_after(), and cmt_list< T >::move_before().
00087 { 00088 return (m_node); 00089 } |
|
Definition at line 72 of file cmt_list.h. References cmt_list< T >::iterator::m_node, and cmt_list_node< T >::m_t.
|
|
Definition at line 66 of file cmt_list.h.
00067 { 00068 const iterator& me = *this; 00069 return (! (me == other)); 00070 } |
|
Definition at line 47 of file cmt_list.h. References cmt_list< T >::iterator::m_node, and cmt_list_node< T >::m_right.
|
|
Definition at line 54 of file cmt_list.h. References cmt_list_node< T >::m_left, and cmt_list< T >::iterator::m_node.
|
|
Definition at line 61 of file cmt_list.h. References cmt_list< T >::iterator::m_node.
00062 { 00063 return (m_node == other.m_node); 00064 } |
|
Definition at line 92 of file cmt_list.h. Referenced by cmt_list< T >::iterator::get_node(), cmt_list< T >::iterator::iterator(), cmt_list< T >::iterator::operator *(), cmt_list< T >::iterator::operator++(), cmt_list< T >::iterator::operator--(), and cmt_list< T >::iterator::operator==(). |