1 //===- DIAEnumTables.h - DIA Tables 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_DIAENUMTABLES_H
11 #define LLVM_DEBUGINFO_PDB_DIA_DIAENUMTABLES_H
13 #include "DIASupport.h"
14 #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
15 #include "llvm/DebugInfo/PDB/IPDBTable.h"
21 class DIAEnumTables : public IPDBEnumChildren<IPDBTable> {
23 explicit DIAEnumTables(CComPtr<IDiaEnumTables> DiaEnumerator);
25 uint32_t getChildCount() const override;
26 std::unique_ptr<IPDBTable> getChildAtIndex(uint32_t Index) const override;
27 std::unique_ptr<IPDBTable> getNext() override;
28 void reset() override;
29 DIAEnumTables *clone() const override;
32 CComPtr<IDiaEnumTables> Enumerator;
37 #endif // LLVM_DEBUGINFO_PDB_DIA_DIAENUMTABLES_H