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

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

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

Public Member Functions

 NativeEnumLineNumbers (std::vector< NativeLineNumber > LineNums)
 
uint32_t getChildCount () const override
 
ChildTypePtr getChildAtIndex (uint32_t Index) const override
 
ChildTypePtr getNext () override
 
void reset () override
 
- Public Member Functions inherited from llvm::pdb::IPDBEnumChildren< IPDBLineNumber >
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< IPDBLineNumber >
using ChildTypePtr = std::unique_ptr< IPDBLineNumber >
 
using MyType = IPDBEnumChildren< IPDBLineNumber >
 

Detailed Description

Definition at line 20 of file NativeEnumLineNumbers.h.

Constructor & Destructor Documentation

◆ NativeEnumLineNumbers()

NativeEnumLineNumbers::NativeEnumLineNumbers ( std::vector< NativeLineNumber LineNums)
explicit

Definition at line 21 of file NativeEnumLineNumbers.cpp.

Member Function Documentation

◆ getChildAtIndex()

std::unique_ptr< IPDBLineNumber > NativeEnumLineNumbers::getChildAtIndex ( uint32_t  Index) const
overridevirtual

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

Definition at line 30 of file NativeEnumLineNumbers.cpp.

References getChildCount(), and N.

Referenced by getNext().

◆ getChildCount()

uint32_t NativeEnumLineNumbers::getChildCount ( ) const
overridevirtual

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

Definition at line 25 of file NativeEnumLineNumbers.cpp.

Referenced by getChildAtIndex().

◆ getNext()

std::unique_ptr< IPDBLineNumber > NativeEnumLineNumbers::getNext ( )
overridevirtual

◆ reset()

void NativeEnumLineNumbers::reset ( )
overridevirtual

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