LLVM 20.0.0git
Public Member Functions | List of all members
llvm::pdb::NativeEnumGlobals Class Reference

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

Inheritance diagram for llvm::pdb::NativeEnumGlobals:
Inheritance graph
[legend]

Public Member Functions

 NativeEnumGlobals (NativeSession &Session, std::vector< codeview::SymbolKind > Kinds)
 
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 23 of file NativeEnumGlobals.h.

Constructor & Destructor Documentation

◆ NativeEnumGlobals()

NativeEnumGlobals::NativeEnumGlobals ( NativeSession Session,
std::vector< codeview::SymbolKind Kinds 
)

Member Function Documentation

◆ getChildAtIndex()

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

◆ getChildCount()

uint32_t NativeEnumGlobals::getChildCount ( ) const
overridevirtual

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

Definition at line 37 of file NativeEnumGlobals.cpp.

◆ getNext()

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

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

Definition at line 51 of file NativeEnumGlobals.cpp.

References getChildAtIndex().

◆ reset()

void NativeEnumGlobals::reset ( )
overridevirtual

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

Definition at line 55 of file NativeEnumGlobals.cpp.


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