#ifndef LISTITERATOR_H #define LISTITERATOR_H #include #include "list.h" #include "listNode.h" class ListIterator { public: ListIterator(const List&); int CurrentData(); ListNode* CurrentPtr(); bool CurrentIsLast(); void Advance(); bool Done(); private: ListNode* current; }; #endif // LISTITERATOR_H