#include <linklist.H>
Collaboration diagram for LINKLIST< T >:
Public Member Functions | |
LINKLIST () | |
LINKLIST (const LINKLIST< T > &l) | |
const LINKLIST< T > & | operator= (const LINKLIST< T > &right) |
Iterator | insert_before (Iterator position, const T &data) |
Iterator | insert_after (Iterator position, const T &data) |
Iterator | insert (Iterator position, const T &data) |
Iterator | insert (const T &data) |
Iterator | erase (Iterator position) |
const T & | front () const |
T & | front () |
const T & | back () const |
T & | back () |
Iterator | begin () const |
Iterator | end () const |
Iterator | rbegin () const |
Iterator | get_iterator_at (int index) const |
Iterator | rget_iterator_at (int index) const |
Iterator | push_front (const T &data) |
Iterator | push_back (const T &data) |
T | pop_front () |
T | pop_back () |
void | swap (Iterator pos1, Iterator pos2) |
Iterator | find (const T &data) |
void | clear () |
bool | empty () const |
int | size () |
int | num () |
void | reverse () |
int | operator== (const LINKLIST< T > &) |
Protected Attributes | |
int | _length |
Node * | _bound |
Friends | |
class | Iterator |
struct | Node |
Classes | |
class | Iterator |
struct | Node |
Definition at line 25 of file linklist.H.
|
Definition at line 111 of file linklist.H. References LINKLIST< T >::_bound, LINKLIST< T >::_length, LINKLIST< T >::Node::next, LINKLIST< T >::Node, and LINKLIST< T >::Node::prev. |
|
Definition at line 118 of file linklist.H. |
|
Definition at line 188 of file linklist.H. References LINKLIST< T >::end(). |
|
Definition at line 187 of file linklist.H. References LINKLIST< T >::end(). |
|
Definition at line 190 of file linklist.H. References LINKLIST< T >::_bound, and LINKLIST< T >::Node::next. Referenced by LINKLIST< T >::find(), LINKLIST< T >::front(), LINKLIST< T >::get_iterator_at(), LINKLIST< T >::insert(), LINKLIST< T >::operator=(), LINKLIST< T >::pop_front(), and LINKLIST< T >::push_front(). |
|
Definition at line 273 of file linklist.H. References LINKLIST< T >::empty(), LINKLIST< T >::end(), and LINKLIST< T >::erase(). Referenced by LINKLIST< T >::operator=(). |
|
Definition at line 278 of file linklist.H. References LINKLIST< T >::_length. Referenced by LINKLIST< T >::clear(). |
|
Definition at line 192 of file linklist.H. References LINKLIST< T >::_bound. Referenced by LINKLIST< T >::back(), LINKLIST< T >::clear(), LINKLIST< T >::get_iterator_at(), LINKLIST< T >::operator=(), LINKLIST< T >::pop_back(), LINKLIST< T >::push_back(), and LINKLIST< T >::rget_iterator_at(). |
|
Definition at line 169 of file linklist.H. References LINKLIST< T >::_bound, LINKLIST< T >::_length, LINKLIST< T >::Iterator::_node, LINKLIST< T >::Iterator::next(), and LINKLIST< T >::Iterator::prev(). Referenced by LINKLIST< T >::clear(), LINKLIST< T >::pop_back(), and LINKLIST< T >::pop_front(). |
|
Definition at line 264 of file linklist.H. References LINKLIST< T >::_bound, LINKLIST< T >::Iterator::_node, and LINKLIST< T >::begin(). |
|
Definition at line 186 of file linklist.H. References LINKLIST< T >::begin(). |
|
Definition at line 185 of file linklist.H. References LINKLIST< T >::begin(). |
|
Definition at line 201 of file linklist.H. References LINKLIST< T >::_length, LINKLIST< T >::begin(), and LINKLIST< T >::end(). |
|
Definition at line 160 of file linklist.H. References LINKLIST< T >::begin(), and LINKLIST< T >::insert_before(). |
|
Definition at line 155 of file linklist.H. References LINKLIST< T >::insert_before(). Referenced by LINKLIST< T >::operator=(), LINKLIST< T >::push_back(), and LINKLIST< T >::push_front(). |
|
Definition at line 143 of file linklist.H. References LINKLIST< T >::_length, LINKLIST< T >::Iterator::_node, LINKLIST< T >::Node::data, LINKLIST< T >::Node::next, LINKLIST< T >::Node, and LINKLIST< T >::Node::prev. |
|
Definition at line 132 of file linklist.H. References LINKLIST< T >::_length, LINKLIST< T >::Iterator::_node, LINKLIST< T >::Node::data, LINKLIST< T >::Node::next, LINKLIST< T >::Node, and LINKLIST< T >::Node::prev. Referenced by LINKLIST< T >::insert(). |
|
Definition at line 281 of file linklist.H. References LINKLIST< T >::_length. |
|
Definition at line 122 of file linklist.H. References LINKLIST< T >::begin(), LINKLIST< T >::clear(), LINKLIST< T >::end(), and LINKLIST< T >::insert(). |
|
Definition at line 291 of file linklist.H. |
|
Definition at line 235 of file linklist.H. References LINKLIST< T >::_bound, LINKLIST< T >::Node::data, LINKLIST< T >::end(), LINKLIST< T >::erase(), and LINKLIST< T >::Node::prev. |
|
Definition at line 228 of file linklist.H. References LINKLIST< T >::_bound, LINKLIST< T >::begin(), LINKLIST< T >::Node::data, LINKLIST< T >::erase(), and LINKLIST< T >::Node::next. |
|
Definition at line 225 of file linklist.H. References LINKLIST< T >::end(), and LINKLIST< T >::insert(). |
|
Definition at line 223 of file linklist.H. References LINKLIST< T >::begin(), and LINKLIST< T >::insert(). |
|
Definition at line 194 of file linklist.H. References LINKLIST< T >::_bound, LINKLIST< T >::Iterator, and LINKLIST< T >::Node::prev. Referenced by LINKLIST< T >::rget_iterator_at(). |
|
Definition at line 283 of file linklist.H. References LINKLIST< T >::_bound, LINKLIST< T >::Node::next, and LINKLIST< T >::Node::prev. |
|
Definition at line 212 of file linklist.H. References LINKLIST< T >::_length, LINKLIST< T >::end(), and LINKLIST< T >::rbegin(). |
|
Definition at line 280 of file linklist.H. References LINKLIST< T >::_length. |
|
Definition at line 243 of file linklist.H. References LINKLIST< T >::Iterator::_node, LINKLIST< T >::Node::next, and LINKLIST< T >::Node::prev. |
|
Definition at line 27 of file linklist.H. Referenced by LINKLIST< T >::rbegin(). |
|
Definition at line 31 of file linklist.H. Referenced by LINKLIST< T >::insert_after(), LINKLIST< T >::insert_before(), and LINKLIST< T >::LINKLIST(). |
|
Definition at line 108 of file linklist.H. Referenced by LINKLIST< T >::begin(), LINKLIST< T >::end(), LINKLIST< T >::erase(), LINKLIST< T >::find(), LINKLIST< T >::LINKLIST(), LINKLIST< T >::pop_back(), LINKLIST< T >::pop_front(), LINKLIST< T >::rbegin(), and LINKLIST< T >::reverse(). |
|
Definition at line 107 of file linklist.H. Referenced by LINKLIST< T >::empty(), LINKLIST< T >::erase(), LINKLIST< T >::get_iterator_at(), LINKLIST< T >::insert_after(), LINKLIST< T >::insert_before(), LINKLIST< T >::LINKLIST(), LINKLIST< T >::num(), LINKLIST< T >::rget_iterator_at(), and LINKLIST< T >::size(). |