#include <list.h>

Node has to be only ListNode derived class!
Public Member Functions | |
| List () | |
| virtual | ~List () |
| bool | IsEmpty () const |
| Node * | GetFront () const |
| Node * | GetBack () const |
| void | PushFront (Node *node) |
| void | PushBack (Node *node) |
| Node * | PopFront () |
| Node * | PopBack () |
Private Attributes | |
| ListNode< Node > * | front |
| ListNode< Node > * | back |
| bool List< Node >::IsEmpty | ( | ) | const [inline] |
| Node * List< Node >::GetFront | ( | ) | const [inline] |
Returns first child object, or NULL if no child objects exist.
| Node * List< Node >::GetBack | ( | ) | const [inline] |
Returns last child object, or NULL if no child objects exist.
| void List< Node >::PushFront | ( | Node * | node | ) | [inline] |
Reimplemented in HashList.
| void List< Node >::PushBack | ( | Node * | node | ) | [inline] |
Reimplemented in HashList.
1.5.3