LLVM  6.0.0svn
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]
Collaboration diagram for llvm::pdb::DIADataStream:
Collaboration graph
[legend]

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Definition at line 18 of file DIADataStream.h.

Constructor & Destructor Documentation

◆ DIADataStream()

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

Definition at line 17 of file DIADataStream.cpp.

Referenced by clone().

Member Function Documentation

◆ clone()

DIADataStream * DIADataStream::clone ( ) const
overridevirtual

Implements llvm::pdb::IPDBDataStream.

Definition at line 69 of file DIADataStream.cpp.

References DIADataStream().

◆ getItemAtIndex()

llvm::Optional< DIADataStream::RecordType > DIADataStream::getItemAtIndex ( uint32_t  Index) const
overridevirtual

◆ getName()

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

Implements llvm::pdb::IPDBDataStream.

Definition at line 25 of file DIADataStream.cpp.

References llvm::convertUTF16ToUTF8String().

◆ getNext()

bool DIADataStream::getNext ( RecordType Record)
overridevirtual

◆ getRecordCount()

uint32_t DIADataStream::getRecordCount ( ) const
overridevirtual

Implements llvm::pdb::IPDBDataStream.

Definition at line 20 of file DIADataStream.cpp.

◆ reset()

void DIADataStream::reset ( )
overridevirtual

Implements llvm::pdb::IPDBDataStream.

Definition at line 67 of file DIADataStream.cpp.


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