LLVM  8.0.1
DIADataStream.h
Go to the documentation of this file.
1 //===- DIADataStream.h - DIA implementation of IPDBDataStream ---*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLVM_DEBUGINFO_PDB_DIA_DIADATASTREAM_H
11 #define LLVM_DEBUGINFO_PDB_DIA_DIADATASTREAM_H
12 
13 #include "DIASupport.h"
15 
16 namespace llvm {
17 namespace pdb {
18 class DIADataStream : public IPDBDataStream {
19 public:
20  explicit DIADataStream(CComPtr<IDiaEnumDebugStreamData> DiaStreamData);
21 
22  uint32_t getRecordCount() const override;
23  std::string getName() const override;
25  bool getNext(RecordType &Record) override;
26  void reset() override;
27 
28 private:
29  CComPtr<IDiaEnumDebugStreamData> StreamData;
30 };
31 }
32 }
33 
34 #endif
DIADataStream(CComPtr< IDiaEnumDebugStreamData > DiaStreamData)
bool getNext(RecordType &Record) override
This class represents lattice values for constants.
Definition: AllocatorList.h:24
IPDBDataStream defines an interface used to represent a stream consisting of a name and a series of r...
std::string getName() const override
llvm::Optional< RecordType > getItemAtIndex(uint32_t Index) const override
uint32_t getRecordCount() const override