LLDB  mainline
Public Member Functions | Private Attributes | List of all members
DWARFDIE::child_iterator Class Reference

#include <DWARFDIE.h>

Inheritance diagram for DWARFDIE::child_iterator:
Inheritance graph
[legend]
Collaboration diagram for DWARFDIE::child_iterator:
Collaboration graph
[legend]

Public Member Functions

 child_iterator ()=default
 
 child_iterator (const DWARFDIE &parent)
 
bool operator== (const child_iterator &it) const
 
const DWARFDIEoperator* () const
 
DWARFDIEoperator* ()
 
child_iteratoroperator++ ()
 

Private Attributes

DWARFDIE m_die
 The current child or an invalid DWARFDie. More...
 

Detailed Description

Definition at line 98 of file DWARFDIE.h.

Constructor & Destructor Documentation

◆ child_iterator() [1/2]

DWARFDIE::child_iterator::child_iterator ( )
default

◆ child_iterator() [2/2]

DWARFDIE::child_iterator::child_iterator ( const DWARFDIE parent)
inline

Definition at line 106 of file DWARFDIE.h.

Member Function Documentation

◆ operator*() [1/2]

DWARFDIE& DWARFDIE::child_iterator::operator* ( )
inline

Definition at line 120 of file DWARFDIE.h.

References DWARFBaseDIE::IsValid(), and m_die.

◆ operator*() [2/2]

const DWARFDIE& DWARFDIE::child_iterator::operator* ( ) const
inline

Definition at line 116 of file DWARFDIE.h.

References DWARFBaseDIE::IsValid(), and m_die.

◆ operator++()

child_iterator& DWARFDIE::child_iterator::operator++ ( )
inline

Definition at line 124 of file DWARFDIE.h.

References DWARFDIE::GetSibling(), DWARFBaseDIE::IsValid(), and m_die.

◆ operator==()

bool DWARFDIE::child_iterator::operator== ( const child_iterator it) const
inline

Definition at line 107 of file DWARFDIE.h.

References DWARFBaseDIE::IsValid(), and m_die.

Member Data Documentation

◆ m_die

DWARFDIE DWARFDIE::child_iterator::m_die
private

The current child or an invalid DWARFDie.

Definition at line 102 of file DWARFDIE.h.

Referenced by operator*(), operator++(), and operator==().


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