ReactOS  0.4.15-dev-5606-gf34e425
iterator.h
Go to the documentation of this file.
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:
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 */
virtual Item CurrentItem() const =0
unsigned int BOOL
Definition: ntddk_ex.h:94
virtual BOOL IsDone() const =0
virtual VOID Next()=0
virtual ~CIterator()
Definition: iterator.h:14
_In_ WDFCOLLECTION _In_ WDFOBJECT Item
virtual VOID First()=0