LLVM  10.0.0svn
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
Collaboration diagram for llvm::codeview::TypeTableCollection:
Collaboration graph

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 20 of file TypeTableCollection.h.

Constructor & Destructor Documentation

◆ TypeTableCollection()

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

Definition at line 18 of file TypeTableCollection.cpp.

Member Function Documentation

◆ capacity()

uint32_t TypeTableCollection::capacity ( )

Implements llvm::codeview::TypeCollection.

Definition at line 60 of file TypeTableCollection.cpp.

◆ contains()

bool TypeTableCollection::contains ( TypeIndex  Index)

Implements llvm::codeview::TypeCollection.

Definition at line 54 of file TypeTableCollection.cpp.

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

Referenced by getNext().

◆ getFirst()

Optional< TypeIndex > TypeTableCollection::getFirst ( )

◆ getNext()

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

◆ getType()

CVType TypeTableCollection::getType ( TypeIndex  Index)

◆ getTypeName()

StringRef TypeTableCollection::getTypeName ( TypeIndex  Index)

◆ size()

uint32_t TypeTableCollection::size ( )

Implements llvm::codeview::TypeCollection.

Definition at line 58 of file TypeTableCollection.cpp.

Referenced by contains(), and getNext().

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