LLDB mainline
Classes | Public Member Functions | Protected Types | Protected Attributes | List of all members
DWARFDeclContext Class Reference

#include <DWARFDeclContext.h>


struct  Entry

Public Member Functions

 DWARFDeclContext ()
void AppendDeclContext (dw_tag_t tag, const char *name)
bool operator== (const DWARFDeclContext &rhs) const
bool operator!= (const DWARFDeclContext &rhs) const
uint32_t GetSize () const
Entryoperator[] (uint32_t idx)
const Entryoperator[] (uint32_t idx) const
const char * GetQualifiedName () const
lldb_private::ConstString GetQualifiedNameAsConstString () const
void Clear ()

Protected Types

typedef std::vector< Entrycollection

Protected Attributes

collection m_entries
std::string m_qualified_name

Detailed Description

Definition at line 25 of file DWARFDeclContext.h.

Member Typedef Documentation

◆ collection

typedef std::vector<Entry> DWARFDeclContext::collection

Definition at line 81 of file DWARFDeclContext.h.

Constructor & Destructor Documentation

◆ DWARFDeclContext()

DWARFDeclContext::DWARFDeclContext ( )

Definition at line 46 of file DWARFDeclContext.h.

Member Function Documentation

◆ AppendDeclContext()

void DWARFDeclContext::AppendDeclContext ( dw_tag_t  tag,
const char *  name 

Definition at line 48 of file DWARFDeclContext.h.

References m_entries.

Referenced by DWARFDebugInfoEntry::GetDWARFDeclContextStatic().

◆ Clear()

void DWARFDeclContext::Clear ( )

Definition at line 75 of file DWARFDeclContext.h.

References m_entries, and m_qualified_name.

◆ GetQualifiedName()

const char * DWARFDeclContext::GetQualifiedName ( ) const

◆ GetQualifiedNameAsConstString()

lldb_private::ConstString DWARFDeclContext::GetQualifiedNameAsConstString ( ) const

Definition at line 71 of file DWARFDeclContext.h.

References GetQualifiedName().

Referenced by SymbolFileDWARF::ParseVariableDIE().

◆ GetSize()

uint32_t DWARFDeclContext::GetSize ( ) const

Definition at line 55 of file DWARFDeclContext.h.

References m_entries.

Referenced by lldb_private::AppleDWARFIndex::GetTypes().

◆ operator!=()

bool DWARFDeclContext::operator!= ( const DWARFDeclContext rhs) const

Definition at line 53 of file DWARFDeclContext.h.

◆ operator==()

bool DWARFDeclContext::operator== ( const DWARFDeclContext rhs) const

Definition at line 56 of file DWARFDeclContext.cpp.

References m_entries.

◆ operator[]() [1/2]

Entry & DWARFDeclContext::operator[] ( uint32_t  idx)

Definition at line 57 of file DWARFDeclContext.h.

References m_entries.

◆ operator[]() [2/2]

const Entry & DWARFDeclContext::operator[] ( uint32_t  idx) const

Definition at line 62 of file DWARFDeclContext.h.

References m_entries.

Member Data Documentation

◆ m_entries

collection DWARFDeclContext::m_entries

◆ m_qualified_name

std::string DWARFDeclContext::m_qualified_name

Definition at line 83 of file DWARFDeclContext.h.

Referenced by Clear(), and GetQualifiedName().

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