LLVM 22.0.0git
llvm::pdb::NativeEnumTypes Class Reference

#include "llvm/DebugInfo/PDB/Native/NativeEnumTypes.h"

Inheritance diagram for llvm::pdb::NativeEnumTypes:
[legend]

Public Member Functions

 NativeEnumTypes (NativeSession &Session, codeview::LazyRandomTypeCollection &TypeCollection, std::vector< codeview::TypeLeafKind > Kinds)
 NativeEnumTypes (NativeSession &Session, std::vector< codeview::TypeIndex > Indices)
uint32_t getChildCount () const override
std::unique_ptr< PDBSymbolgetChildAtIndex (uint32_t Index) const override
std::unique_ptr< PDBSymbolgetNext () override
void reset () override
Public Member Functions inherited from llvm::pdb::IPDBEnumChildren< PDBSymbol >
virtual ~IPDBEnumChildren ()=default

Additional Inherited Members

Public Types inherited from llvm::pdb::IPDBEnumChildren< PDBSymbol >
using ChildTypePtr
using MyType

Detailed Description

Definition at line 27 of file NativeEnumTypes.h.

Constructor & Destructor Documentation

◆ NativeEnumTypes() [1/2]

◆ NativeEnumTypes() [2/2]

NativeEnumTypes::NativeEnumTypes ( NativeSession & Session,
std::vector< codeview::TypeIndex > Indices )

Definition at line 51 of file NativeEnumTypes.cpp.

References llvm::move().

Member Function Documentation

◆ getChildAtIndex()

std::unique_ptr< PDBSymbol > NativeEnumTypes::getChildAtIndex ( uint32_t Index) const
overridevirtual

Implements llvm::pdb::IPDBEnumChildren< PDBSymbol >.

Definition at line 59 of file NativeEnumTypes.cpp.

References N.

Referenced by getNext().

◆ getChildCount()

uint32_t NativeEnumTypes::getChildCount ( ) const
overridevirtual

Implements llvm::pdb::IPDBEnumChildren< PDBSymbol >.

Definition at line 55 of file NativeEnumTypes.cpp.

◆ getNext()

std::unique_ptr< PDBSymbol > NativeEnumTypes::getNext ( )
overridevirtual

Implements llvm::pdb::IPDBEnumChildren< PDBSymbol >.

Definition at line 67 of file NativeEnumTypes.cpp.

References getChildAtIndex().

◆ reset()

void NativeEnumTypes::reset ( )
overridevirtual

Implements llvm::pdb::IPDBEnumChildren< PDBSymbol >.

Definition at line 71 of file NativeEnumTypes.cpp.


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