00001 00005 class DpLists(DpListType) 00006 00007 { 00008 private: 00009 00010 DpListsItem(DpListType)* tail; 00011 DpListsItem(DpListType)* current; 00012 DpListsItem(DpListType)* head; 00013 00014 public: 00015 00016 DpLists(DpListType) () { head=0; tail=0;} 00017 ~DpLists(DpListType) () { remove(); } 00018 void insert (DpListType* list_); 00019 void append (DpListType* list_); 00020 void remove (); 00021 void remove(DpListType* list_); 00022 void print (Os os); 00023 int getNoEntries (); 00024 void start(); 00025 void end(); 00026 DpListType* next(); 00027 DpListType* prev(); 00028 DpListType* curr(); 00029 }; 00030 00031