17 : StreamData(DiaStreamData) {}
21 return (S_OK == StreamData->get_Count(&Count)) ? Count : 0;
32 StreamData->Item(Index, 0, &RecordSize,
nullptr);
37 if (S_OK != StreamData->Item(Index, RecordSize, &RecordSize, &Record[0]))
45 ULONG CountFetched = 0;
46 StreamData->Next(1, 0, &RecordSize,
nullptr, &CountFetched);
52 StreamData->Next(1, RecordSize, &RecordSize, &Record[0], &CountFetched))
DIADataStream(CComPtr< IDiaEnumDebugStreamData > DiaStreamData)
bool getNext(RecordType &Record) override
This class represents lattice values for constants.
std::string invokeBstrMethod(Obj &Object, HRESULT(__stdcall Obj::*Func)(BSTR *))
std::string getName() const override
llvm::Optional< RecordType > getItemAtIndex(uint32_t Index) const override
uint32_t getRecordCount() const override