1 //==- DIAEnumDebugStreams.h - DIA Debug Stream Enumerator impl ---*- C++ -*-==//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_DEBUGINFO_PDB_DIA_DIAENUMDEBUGSTREAMS_H
11 #define LLVM_DEBUGINFO_PDB_DIA_DIAENUMDEBUGSTREAMS_H
13 #include "DIASupport.h"
14 #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
20 class DIAEnumDebugStreams : public IPDBEnumChildren<IPDBDataStream> {
22 explicit DIAEnumDebugStreams(CComPtr<IDiaEnumDebugStreams> DiaEnumerator);
24 uint32_t getChildCount() const override;
25 ChildTypePtr getChildAtIndex(uint32_t Index) const override;
26 ChildTypePtr getNext() override;
27 void reset() override;
28 DIAEnumDebugStreams *clone() const override;
31 CComPtr<IDiaEnumDebugStreams> Enumerator;