LLVM  4.0.0
Public Member Functions | Friends | List of all members
llvm::pdb::TpiStream Class Reference

#include <TpiStream.h>

Public Member Functions

 TpiStream (const PDBFile &File, std::unique_ptr< msf::MappedBlockStream > Stream)
 
 ~TpiStream ()
 
Error reload ()
 
PdbRaw_TpiVer getTpiVersion () const
 
uint32_t TypeIndexBegin () const
 
uint32_t TypeIndexEnd () const
 
uint32_t NumTypeRecords () const
 
uint16_t getTypeHashStreamIndex () const
 
uint16_t getTypeHashStreamAuxIndex () const
 
uint32_t getHashKeySize () const
 
uint32_t NumHashBuckets () const
 
msf::FixedStreamArray
< support::ulittle32_t
getHashValues () const
 
msf::FixedStreamArray
< TypeIndexOffset
getTypeIndexOffsets () const
 
msf::FixedStreamArray
< TypeIndexOffset
getHashAdjustments () const
 
iterator_range
< codeview::CVTypeArray::Iterator
types (bool *HadError) const
 
Error commit ()
 

Friends

class TpiStreamBuilder
 

Detailed Description

Definition at line 29 of file TpiStream.h.

Constructor & Destructor Documentation

TpiStream::TpiStream ( const PDBFile File,
std::unique_ptr< msf::MappedBlockStream Stream 
)

Definition at line 35 of file TpiStream.cpp.

TpiStream::~TpiStream ( )
default

Member Function Documentation

Error TpiStream::commit ( )

Definition at line 177 of file TpiStream.cpp.

References llvm::Error::success().

FixedStreamArray< TypeIndexOffset > TpiStream::getHashAdjustments ( ) const

Definition at line 168 of file TpiStream.cpp.

uint32_t TpiStream::getHashKeySize ( ) const

Definition at line 155 of file TpiStream.cpp.

References llvm::pdb::TpiStreamHeader::HashKeySize.

FixedStreamArray< support::ulittle32_t > TpiStream::getHashValues ( ) const

Definition at line 158 of file TpiStream.cpp.

PdbRaw_TpiVer TpiStream::getTpiVersion ( ) const

Definition at line 133 of file TpiStream.cpp.

References llvm::pdb::TpiStreamHeader::Version.

uint16_t TpiStream::getTypeHashStreamAuxIndex ( ) const

Definition at line 150 of file TpiStream.cpp.

References llvm::pdb::TpiStreamHeader::HashAuxStreamIndex.

uint16_t TpiStream::getTypeHashStreamIndex ( ) const

Definition at line 146 of file TpiStream.cpp.

References llvm::pdb::TpiStreamHeader::HashStreamIndex.

FixedStreamArray< TypeIndexOffset > TpiStream::getTypeIndexOffsets ( ) const

Definition at line 163 of file TpiStream.cpp.

uint32_t TpiStream::NumHashBuckets ( ) const

Definition at line 154 of file TpiStream.cpp.

References llvm::pdb::TpiStreamHeader::NumHashBuckets.

uint32_t TpiStream::NumTypeRecords ( ) const

Definition at line 142 of file TpiStream.cpp.

References TypeIndexBegin(), and TypeIndexEnd().

Referenced by reload().

Error TpiStream::reload ( )
uint32_t TpiStream::TypeIndexBegin ( ) const

Definition at line 138 of file TpiStream.cpp.

References llvm::pdb::TpiStreamHeader::TypeIndexBegin.

Referenced by NumTypeRecords().

uint32_t TpiStream::TypeIndexEnd ( ) const

Definition at line 140 of file TpiStream.cpp.

References llvm::pdb::TpiStreamHeader::TypeIndexEnd.

Referenced by NumTypeRecords().

iterator_range< CVTypeArray::Iterator > TpiStream::types ( bool HadError) const

Friends And Related Function Documentation

friend class TpiStreamBuilder
friend

Definition at line 30 of file TpiStream.h.


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