Revision: | 2 |
Committed: | 2004-05-12T23:40:15-07:00 (21 years, 1 month ago) by Douglas Thrift |
File size: | 419 byte(s) |
Log Message: | sUX0r! |
# | User | Rev | Content |
---|---|---|---|
1 | Douglas Thrift | 1 | // Doubly Linked List |
2 | // | ||
3 | // Douglas Thrift | ||
4 | // | ||
5 | // $Id$ | ||
6 | |||
7 | #ifndef _DoublyLinkedList_hpp_ | ||
8 | #define _DoublyLinkedList_hpp_ | ||
9 | |||
10 | #include "NullNode.hpp" | ||
11 | #include "Iterator.hpp" | ||
12 | |||
13 | template<typename Type> | ||
14 | class DoublyLinkedList | ||
15 | { | ||
16 | private: | ||
17 | NullNode<Type>* front; | ||
18 | NullNode<Type>* back; | ||
19 | public: | ||
20 | DoublyLinkedList() {} | ||
21 | ~DoublyLinkedList() {} | ||
22 | void addFront(Type& type); | ||
23 | void addBack(Type& type); | ||
24 | }; | ||
25 | |||
26 | #endif // _DoublyLinkedList_hpp_ |
Name | Value |
---|---|
svn:eol-style | native |
svn:keywords | Id |