ReactOS 0.4.15-dev-7842-g558ab78
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
11template <class Item>
12class CIterator {
13public:
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 VOID First()=0
virtual Item CurrentItem() const =0
virtual VOID Next()=0
virtual BOOL IsDone() const =0
virtual ~CIterator()
Definition: iterator.h:14
unsigned int BOOL
Definition: ntddk_ex.h:94
_In_ WDFCOLLECTION _In_ WDFOBJECT Item