1 //==- DIAEnumSectionContribs.h --------------------------------- -*- 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_DIAENUMSECTIONCONTRIBS_H
11 #define LLVM_DEBUGINFO_PDB_DIA_DIAENUMSECTIONCONTRIBS_H
13 #include "DIASupport.h"
14 #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
15 #include "llvm/DebugInfo/PDB/IPDBSectionContrib.h"
21 class DIAEnumSectionContribs : public IPDBEnumChildren<IPDBSectionContrib> {
23 explicit DIAEnumSectionContribs(
24 const DIASession &PDBSession,
25 CComPtr<IDiaEnumSectionContribs> DiaEnumerator);
27 uint32_t getChildCount() const override;
28 ChildTypePtr getChildAtIndex(uint32_t Index) const override;
29 ChildTypePtr getNext() override;
30 void reset() override;
33 const DIASession &Session;
34 CComPtr<IDiaEnumSectionContribs> Enumerator;
39 #endif // LLVM_DEBUGINFO_PDB_DIA_DIAENUMSECTIONCONTRIBS_H