LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
llvm::pdb::IPDBDataStream Class Referenceabstract

IPDBDataStream defines an interface used to represent a stream consisting of a name and a series of records whose formats depend on the particular stream type. More...

#include "llvm/DebugInfo/PDB/IPDBDataStream.h"

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

Public Types

using RecordType = SmallVector< uint8_t, 32 >
 

Public Member Functions

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
 

Detailed Description

IPDBDataStream defines an interface used to represent a stream consisting of a name and a series of records whose formats depend on the particular stream type.

Definition at line 23 of file IPDBDataStream.h.

Member Typedef Documentation

◆ RecordType

Definition at line 25 of file IPDBDataStream.h.

Constructor & Destructor Documentation

◆ ~IPDBDataStream()

IPDBDataStream::~IPDBDataStream ( )
virtualdefault

Member Function Documentation

◆ getItemAtIndex()

virtual std::optional< RecordType > llvm::pdb::IPDBDataStream::getItemAtIndex ( uint32_t  Index) const
pure virtual

Implemented in llvm::pdb::DIADataStream.

◆ getName()

virtual std::string llvm::pdb::IPDBDataStream::getName ( ) const
pure virtual

Implemented in llvm::pdb::DIADataStream.

◆ getNext()

virtual bool llvm::pdb::IPDBDataStream::getNext ( RecordType Record)
pure virtual

Implemented in llvm::pdb::DIADataStream.

◆ getRecordCount()

virtual uint32_t llvm::pdb::IPDBDataStream::getRecordCount ( ) const
pure virtual

Implemented in llvm::pdb::DIADataStream.

◆ reset()

virtual void llvm::pdb::IPDBDataStream::reset ( )
pure virtual

Implemented in llvm::pdb::DIADataStream.


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