1 //==- DIAEnumSymbols.h - DIA Symbol 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_DIAENUMSYMBOLS_H
11 #define LLVM_DEBUGINFO_PDB_DIA_DIAENUMSYMBOLS_H
13 #include "DIASupport.h"
14 #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
20 class DIAEnumSymbols : public IPDBEnumChildren<PDBSymbol> {
22 explicit DIAEnumSymbols(const DIASession &Session,
23 CComPtr<IDiaEnumSymbols> DiaEnumerator);
25 uint32_t getChildCount() const override;
26 std::unique_ptr<PDBSymbol> getChildAtIndex(uint32_t Index) const override;
27 std::unique_ptr<PDBSymbol> getNext() override;
28 void reset() override;
29 DIAEnumSymbols *clone() const override;
32 const DIASession &Session;
33 CComPtr<IDiaEnumSymbols> Enumerator;