19 CComPtr<IDiaEnumSectionContribs> DiaEnumerator)
20 : Session(PDBSession),
Enumerator(DiaEnumerator) {}
24 return (S_OK == Enumerator->get_Count(&Count)) ? Count : 0;
27 std::unique_ptr<IPDBSectionContrib>
29 CComPtr<IDiaSectionContrib> Item;
30 if (S_OK != Enumerator->Item(Index, &Item))
33 return std::unique_ptr<IPDBSectionContrib>(
38 CComPtr<IDiaSectionContrib> Item;
40 if (S_OK != Enumerator->Next(1, &Item, &NumFetched))
43 return std::unique_ptr<IPDBSectionContrib>(
This class represents lattice values for constants.
uint32_t getChildCount() const override
ChildTypePtr getNext() override
ChildTypePtr getChildAtIndex(uint32_t Index) const override
DIAEnumSectionContribs(const DIASession &PDBSession, CComPtr< IDiaEnumSectionContribs > DiaEnumerator)