LLVM  14.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
Collaboration diagram for llvm::pdb::NativeEnumTypes:
Collaboration graph

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

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 24 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 50 of file NativeEnumTypes.cpp.

Member Function Documentation

◆ getChildAtIndex()

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

◆ getChildCount()

uint32_t NativeEnumTypes::getChildCount ( ) const

Definition at line 54 of file NativeEnumTypes.cpp.

◆ getNext()

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

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

Definition at line 66 of file NativeEnumTypes.cpp.

References getChildAtIndex().

◆ reset()

void NativeEnumTypes::reset ( )

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

Definition at line 70 of file NativeEnumTypes.cpp.

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