LLVM  8.0.1
DIAEnumDebugStreams.h
Go to the documentation of this file.
1 //==- DIAEnumDebugStreams.h - DIA Debug Stream Enumerator impl ---*- C++ -*-==//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLVM_DEBUGINFO_PDB_DIA_DIAENUMDEBUGSTREAMS_H
11 #define LLVM_DEBUGINFO_PDB_DIA_DIAENUMDEBUGSTREAMS_H
12 
13 #include "DIASupport.h"
16 
17 namespace llvm {
18 namespace pdb {
19 
20 class IPDBDataStream;
21 
22 class DIAEnumDebugStreams : public IPDBEnumChildren<IPDBDataStream> {
23 public:
24  explicit DIAEnumDebugStreams(CComPtr<IDiaEnumDebugStreams> DiaEnumerator);
25 
26  uint32_t getChildCount() const override;
28  ChildTypePtr getNext() override;
29  void reset() override;
30 
31 private:
32  CComPtr<IDiaEnumDebugStreams> Enumerator;
33 };
34 }
35 }
36 
37 #endif
std::unique_ptr< IPDBDataStream > ChildTypePtr
This class represents lattice values for constants.
Definition: AllocatorList.h:24
DIAEnumDebugStreams(CComPtr< IDiaEnumDebugStreams > DiaEnumerator)
uint32_t getChildCount() const override
ChildTypePtr getChildAtIndex(uint32_t Index) const override