18 CComPtr<IDiaEnumLineNumbers> DiaEnumerator)
23 return (S_OK == Enumerator->get_Count(&Count)) ? Count : 0;
26 std::unique_ptr<IPDBLineNumber>
28 CComPtr<IDiaLineNumber> Item;
29 if (S_OK != Enumerator->Item(Index, &Item))
32 return std::unique_ptr<IPDBLineNumber>(
new DIALineNumber(Item));
36 CComPtr<IDiaLineNumber> Item;
38 if (S_OK != Enumerator->Next(1, &Item, &NumFetched))
41 return std::unique_ptr<IPDBLineNumber>(
new DIALineNumber(Item));
This class represents lattice values for constants.
DIAEnumLineNumbers(CComPtr< IDiaEnumLineNumbers > DiaEnumerator)
ChildTypePtr getChildAtIndex(uint32_t Index) const override
ChildTypePtr getNext() override
uint32_t getChildCount() const override