LLVM 20.0.0git
Public Member Functions | List of all members
llvm::pdb::DIADataStream Class Reference

#include "llvm/DebugInfo/PDB/DIA/DIADataStream.h"

Inheritance diagram for llvm::pdb::DIADataStream:
Inheritance graph
[legend]

Public Member Functions

 DIADataStream (CComPtr< IDiaEnumDebugStreamData > DiaStreamData)
 
uint32_t getRecordCount () const override
 
std::string getName () const override
 
std::optional< RecordTypegetItemAtIndex (uint32_t Index) const override
 
bool getNext (RecordType &Record) override
 
void reset () override
 
- Public Member Functions inherited from llvm::pdb::IPDBDataStream
virtual ~IPDBDataStream ()
 
virtual uint32_t getRecordCount () const =0
 
virtual std::string getName () const =0
 
virtual std::optional< RecordTypegetItemAtIndex (uint32_t Index) const =0
 
virtual bool getNext (RecordType &Record)=0
 
virtual void reset ()=0
 

Additional Inherited Members

- Public Types inherited from llvm::pdb::IPDBDataStream
using RecordType = SmallVector< uint8_t, 32 >
 

Detailed Description

Definition at line 17 of file DIADataStream.h.

Constructor & Destructor Documentation

◆ DIADataStream()

DIADataStream::DIADataStream ( CComPtr< IDiaEnumDebugStreamData >  DiaStreamData)
explicit

Definition at line 15 of file DIADataStream.cpp.

Member Function Documentation

◆ getItemAtIndex()

std::optional< DIADataStream::RecordType > DIADataStream::getItemAtIndex ( uint32_t  Index) const
overridevirtual

Implements llvm::pdb::IPDBDataStream.

Definition at line 28 of file DIADataStream.cpp.

◆ getName()

std::string DIADataStream::getName ( ) const
overridevirtual

Implements llvm::pdb::IPDBDataStream.

Definition at line 23 of file DIADataStream.cpp.

References invokeBstrMethod().

◆ getNext()

bool DIADataStream::getNext ( RecordType Record)
overridevirtual

Implements llvm::pdb::IPDBDataStream.

Definition at line 41 of file DIADataStream.cpp.

◆ getRecordCount()

uint32_t DIADataStream::getRecordCount ( ) const
overridevirtual

Implements llvm::pdb::IPDBDataStream.

Definition at line 18 of file DIADataStream.cpp.

◆ reset()

void DIADataStream::reset ( )
overridevirtual

Implements llvm::pdb::IPDBDataStream.

Definition at line 56 of file DIADataStream.cpp.


The documentation for this class was generated from the following files: