LLVM  8.0.1
Public Member Functions | List of all members
llvm::codeview::TypeTableCollection Class Reference

#include "llvm/DebugInfo/CodeView/TypeTableCollection.h"

Inheritance diagram for llvm::codeview::TypeTableCollection:
Inheritance graph
[legend]
Collaboration diagram for llvm::codeview::TypeTableCollection:
Collaboration graph
[legend]

Public Member Functions

 TypeTableCollection (ArrayRef< ArrayRef< uint8_t >> Records)
 
Optional< TypeIndexgetFirst () override
 
Optional< TypeIndexgetNext (TypeIndex Prev) override
 
CVType getType (TypeIndex Index) override
 
StringRef getTypeName (TypeIndex Index) override
 
bool contains (TypeIndex Index) override
 
uint32_t size () override
 
uint32_t capacity () override
 
- Public Member Functions inherited from llvm::codeview::TypeCollection
virtual ~TypeCollection ()=default
 
bool empty ()
 
template<typename TFunc >
void ForEachRecord (TFunc Func)
 

Detailed Description

Definition at line 21 of file TypeTableCollection.h.

Constructor & Destructor Documentation

◆ TypeTableCollection()

TypeTableCollection::TypeTableCollection ( ArrayRef< ArrayRef< uint8_t >>  Records)
explicit

Definition at line 19 of file TypeTableCollection.cpp.

Member Function Documentation

◆ capacity()

uint32_t TypeTableCollection::capacity ( )
overridevirtual

Implements llvm::codeview::TypeCollection.

Definition at line 65 of file TypeTableCollection.cpp.

◆ contains()

bool TypeTableCollection::contains ( TypeIndex  Index)
overridevirtual

Implements llvm::codeview::TypeCollection.

Definition at line 59 of file TypeTableCollection.cpp.

References size(), and llvm::codeview::TypeIndex::toArrayIndex().

Referenced by getNext().

◆ getFirst()

Optional< TypeIndex > TypeTableCollection::getFirst ( )
overridevirtual

◆ getNext()

Optional< TypeIndex > TypeTableCollection::getNext ( TypeIndex  Prev)
overridevirtual

◆ getType()

CVType TypeTableCollection::getType ( TypeIndex  Index)
overridevirtual

◆ getTypeName()

StringRef TypeTableCollection::getTypeName ( TypeIndex  Index)
overridevirtual

◆ size()

uint32_t TypeTableCollection::size ( )
overridevirtual

Implements llvm::codeview::TypeCollection.

Definition at line 63 of file TypeTableCollection.cpp.

Referenced by contains(), and getNext().


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