1 /* 2 * COPYRIGHT: See COPYING in the top level directory 3 * PROJECT: ReactOS HTTP Daemon 4 * FILE: include/iterator.h 5 */ 6 #ifndef __ITERATOR_H 7 #define __ITERATOR_H 8 9 #include <windows.h> 10 11 template <class Item> 12 class CIterator { 13 public: ~CIterator()14 virtual ~CIterator() 15 {} 16 virtual VOID First() = 0; 17 virtual VOID Next() = 0; 18 virtual BOOL IsDone() const = 0; 19 virtual Item CurrentItem() const = 0; 20 }; 21 22 #endif /* __ITERATOR_H */ 23