12345678910111213141516171819202122232425262728293031323334353637 |
- //==- DIAEnumSymbols.h - DIA Symbol Enumerator impl --------------*- C++ -*-==//
- //
- // The LLVM Compiler Infrastructure
- //
- // This file is distributed under the University of Illinois Open Source
- // License. See LICENSE.TXT for details.
- //
- //===----------------------------------------------------------------------===//
- #ifndef LLVM_DEBUGINFO_PDB_DIA_DIAENUMSYMBOLS_H
- #define LLVM_DEBUGINFO_PDB_DIA_DIAENUMSYMBOLS_H
- #include "DIASupport.h"
- #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
- namespace llvm {
- class DIASession;
- class DIAEnumSymbols : public IPDBEnumChildren<PDBSymbol> {
- public:
- explicit DIAEnumSymbols(const DIASession &Session,
- CComPtr<IDiaEnumSymbols> DiaEnumerator);
- uint32_t getChildCount() const override;
- std::unique_ptr<PDBSymbol> getChildAtIndex(uint32_t Index) const override;
- std::unique_ptr<PDBSymbol> getNext() override;
- void reset() override;
- DIAEnumSymbols *clone() const override;
- private:
- const DIASession &Session;
- CComPtr<IDiaEnumSymbols> Enumerator;
- };
- }
- #endif
|