#include <List.h>
Public Types | |
| typedef _list_iterator< Type, void * > | iterator |
| typedef const _list_iterator < Type, void * > | const_iterator |
| typedef _list_node< Type, void * > | node |
Public Member Functions | |
| DO_INLINE_F Type | find (void *key) |
| void | push_front (Type &data) |
| void | push_back (Type &data) |
| bool | addIfUniqueVal (Type &data) |
| bool | find (const Type &val) const |
| bool | remove (const Type &data) |
| Type & | front () |
| const Type & | front () const |
| Type & | back () |
| void | __push_front (Type &data, const void *&key) |
| void | __push_back (Type &data, const void *&key) |
| bool | __addIfUniqueKey (Type &data, const void *&key) |
| bool | __addIfUniqueVal (Type &data, const void *&key) |
| bool | __find_with_key (const void *&key, Type *saveVal) |
| bool | __find_with_val (const Type &saveVal) const |
| bool | __remove_with_key (const void *&key) |
| bool | __remove_with_val (const Type &val) |
| void | clear () |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| int | count () const |
| bool | isEmpty () |
| void | insert (iterator &, Type &) |
| void | map (void(*map_function)(const Typeitem)) |
Protected Member Functions | |
| node * | getLastNode () |
Protected Attributes | |
| node * | head |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const List< Type > &data) |
Definition at line 466 of file List.h.
typedef const _list_iterator<Type , void * > ListBase< Type , void * >::const_iterator [inherited] |
typedef _list_iterator<Type , void * > ListBase< Type , void * >::iterator [inherited] |
typedef _list_node<Type , void * > ListBase< Type , void * >::node [inherited] |
| bool ListBase< Type , void * >::__addIfUniqueKey | ( | Type & | data, | |
| const void * & | key | |||
| ) | [inline, inherited] |
Definition at line 167 of file List.h.
References ListBase< DataType, KeyType >::__find_with_key(), and ListBase< DataType, KeyType >::__push_front().
| bool ListBase< Type , void * >::__addIfUniqueVal | ( | Type & | data, | |
| const void * & | key | |||
| ) | [inline, inherited] |
Definition at line 178 of file List.h.
References ListBase< DataType, KeyType >::__find_with_val(), and ListBase< DataType, KeyType >::__push_front().
| bool ListBase< Type , void * >::__find_with_key | ( | const void * & | key, | |
| Type * | saveVal | |||
| ) | [inherited] |
| bool ListBase< Type , void * >::__find_with_val | ( | const Type & | saveVal | ) | const [inherited] |
| void ListBase< Type , void * >::__push_back | ( | Type & | data, | |
| const void * & | key | |||
| ) | [inherited] |
| void ListBase< Type , void * >::__push_front | ( | Type & | data, | |
| const void * & | key | |||
| ) | [inherited] |
| bool ListBase< Type , void * >::__remove_with_key | ( | const void * & | key | ) | [inherited] |
| bool ListBase< Type , void * >::__remove_with_val | ( | const Type & | val | ) | [inherited] |
| bool List< Type >::addIfUniqueVal | ( | Type & | data | ) | [inline, inherited] |
Definition at line 251 of file List.h.
References ListBase< DataType, void * >::__addIfUniqueVal().
| Type & ListBase< Type , void * >::back | ( | ) | [inline, inherited] |
Definition at line 163 of file List.h.
References _list_node< DataType, KeyType >::data, and ListBase< DataType, KeyType >::getLastNode().
| const_iterator ListBase< Type , void * >::begin | ( | ) | const [inline, inherited] |
Definition at line 195 of file List.h.
References ListBase< DataType, KeyType >::head.
Definition at line 192 of file List.h.
References ListBase< DataType, KeyType >::head.
| void ListBase< Type , void * >::clear | ( | ) | [inherited] |
| int ListBase< Type , void * >::count | ( | ) | const [inline, inherited] |
Definition at line 206 of file List.h.
References ListBase< DataType, KeyType >::head, and _list_node< DataType, KeyType >::next.
| const_iterator ListBase< Type , void * >::end | ( | ) | const [inline, inherited] |
| bool List< Type >::find | ( | const Type & | val | ) | const [inline, inherited] |
Definition at line 254 of file List.h.
References ListBase< DataType, void * >::__find_with_val().
| DO_INLINE_F Type StringList< Type >::find | ( | void * | key | ) | [inline] |
Definition at line 468 of file List.h.
References _list_node< DataType, KeyType >::data, ListBase< Type, void * >::head, _list_node< DataType, KeyType >::key, and _list_node< DataType, KeyType >::next.
| const Type & ListBase< Type , void * >::front | ( | ) | const [inline, inherited] |
Definition at line 160 of file List.h.
References ListBase< DataType, KeyType >::begin().
| Type & ListBase< Type , void * >::front | ( | ) | [inline, inherited] |
Definition at line 159 of file List.h.
References ListBase< DataType, KeyType >::begin().
| bool ListBase< Type , void * >::isEmpty | ( | ) | [inline, inherited] |
Definition at line 213 of file List.h.
References ListBase< DataType, KeyType >::head.
| void ListBase< Type , void * >::map | ( | void(*)(const Type item) | map_function | ) | [inline, inherited] |
Definition at line 219 of file List.h.
References _list_node< DataType, KeyType >::data, ListBase< DataType, KeyType >::head, and _list_node< DataType, KeyType >::next.
| void List< Type >::push_back | ( | Type & | data | ) | [inline, inherited] |
Definition at line 248 of file List.h.
References ListBase< DataType, void * >::__push_back().
| void List< Type >::push_front | ( | Type & | data | ) | [inline, inherited] |
Definition at line 245 of file List.h.
References ListBase< DataType, void * >::__push_front().
| bool List< Type >::remove | ( | const Type & | data | ) | [inline, inherited] |
Definition at line 257 of file List.h.
References ListBase< DataType, void * >::__remove_with_val().
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const List< Type > & | data | |||
| ) | [friend, inherited] |
Reimplemented from ListBase< Type, void * >.
Definition at line 230 of file List.h.
Referenced by StringList< Type >::find().
1.6.1