LLVM 19.0.0git
Public Member Functions | List of all members
llvm::codeview::TypeCollection Class Referenceabstract

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

Inheritance diagram for llvm::codeview::TypeCollection:
Inheritance graph
[legend]

Public Member Functions

virtual ~TypeCollection ()=default
 
bool empty ()
 
virtual std::optional< TypeIndexgetFirst ()=0
 
virtual std::optional< TypeIndexgetNext (TypeIndex Prev)=0
 
virtual CVType getType (TypeIndex Index)=0
 
virtual StringRef getTypeName (TypeIndex Index)=0
 
virtual bool contains (TypeIndex Index)=0
 
virtual uint32_t size ()=0
 
virtual uint32_t capacity ()=0
 
virtual bool replaceType (TypeIndex &Index, CVType Data, bool Stabilize)=0
 
template<typename TFunc >
void ForEachRecord (TFunc Func)
 

Detailed Description

Definition at line 18 of file TypeCollection.h.

Constructor & Destructor Documentation

◆ ~TypeCollection()

virtual llvm::codeview::TypeCollection::~TypeCollection ( )
virtualdefault

Member Function Documentation

◆ capacity()

virtual uint32_t llvm::codeview::TypeCollection::capacity ( )
pure virtual

◆ contains()

virtual bool llvm::codeview::TypeCollection::contains ( TypeIndex  Index)
pure virtual

◆ empty()

bool llvm::codeview::TypeCollection::empty ( )
inline

◆ ForEachRecord()

template<typename TFunc >
void llvm::codeview::TypeCollection::ForEachRecord ( TFunc  Func)
inline

Definition at line 34 of file TypeCollection.h.

References getFirst(), getNext(), getType(), and N.

◆ getFirst()

virtual std::optional< TypeIndex > llvm::codeview::TypeCollection::getFirst ( )
pure virtual

◆ getNext()

virtual std::optional< TypeIndex > llvm::codeview::TypeCollection::getNext ( TypeIndex  Prev)
pure virtual

◆ getType()

virtual CVType llvm::codeview::TypeCollection::getType ( TypeIndex  Index)
pure virtual

◆ getTypeName()

virtual StringRef llvm::codeview::TypeCollection::getTypeName ( TypeIndex  Index)
pure virtual

◆ replaceType()

virtual bool llvm::codeview::TypeCollection::replaceType ( TypeIndex Index,
CVType  Data,
bool  Stabilize 
)
pure virtual

◆ size()

virtual uint32_t llvm::codeview::TypeCollection::size ( )
pure virtual

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