LLVM 19.0.0git
Public Member Functions | List of all members
llvm::pdb::NativeEnumTypes Class Reference

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

Inheritance diagram for llvm::pdb::NativeEnumTypes:
Inheritance graph
[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
 
virtual uint32_t getChildCount () const=0
 
virtual ChildTypePtr getChildAtIndex (uint32_t Index) const=0
 
virtual ChildTypePtr getNext ()=0
 
virtual void reset ()=0
 

Additional Inherited Members

- Public Types inherited from llvm::pdb::IPDBEnumChildren< PDBSymbol >
using ChildTypePtr = std::unique_ptr< PDBSymbol >
 
using MyType = IPDBEnumChildren< PDBSymbol >
 

Detailed Description

Definition at line 27 of file NativeEnumTypes.h.

Constructor & Destructor Documentation

◆ NativeEnumTypes() [1/2]

NativeEnumTypes::NativeEnumTypes ( NativeSession Session,
codeview::LazyRandomTypeCollection TypeCollection,
std::vector< codeview::TypeLeafKind Kinds 
)

◆ NativeEnumTypes() [2/2]

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

Definition at line 52 of file NativeEnumTypes.cpp.

Member Function Documentation

◆ getChildAtIndex()

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

◆ getChildCount()

uint32_t NativeEnumTypes::getChildCount ( ) const
overridevirtual

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

Definition at line 56 of file NativeEnumTypes.cpp.

◆ getNext()

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

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

Definition at line 68 of file NativeEnumTypes.cpp.

References getChildAtIndex().

◆ reset()

void NativeEnumTypes::reset ( )
overridevirtual

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

Definition at line 72 of file NativeEnumTypes.cpp.


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