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

#include <DWARFDeclContext.h>

Collaboration diagram for DWARFDeclContext:
Collaboration graph
[legend]

Classes

struct  Entry
 

Public Member Functions

 DWARFDeclContext ()
 
void AppendDeclContext (dw_tag_t tag, const char *name)
 
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 ()
 
lldb::LanguageType GetLanguage () const
 
void SetLanguage (lldb::LanguageType language)
 

Protected Types

typedef std::vector< Entrycollection
 

Protected Attributes

collection m_entries
 
std::string m_qualified_name
 
lldb::LanguageType m_language
 

Detailed Description

Definition at line 23 of file DWARFDeclContext.h.

Member Typedef Documentation

◆ collection

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

Definition at line 82 of file DWARFDeclContext.h.

Constructor & Destructor Documentation

◆ DWARFDeclContext()

DWARFDeclContext::DWARFDeclContext ( )
inline

Definition at line 44 of file DWARFDeclContext.h.

Member Function Documentation

◆ AppendDeclContext()

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

◆ Clear()

void DWARFDeclContext::Clear ( )
inline

Definition at line 72 of file DWARFDeclContext.h.

References m_entries, and m_qualified_name.

Referenced by DWARFDIE::GetDWARFDeclContext().

◆ GetLanguage()

lldb::LanguageType DWARFDeclContext::GetLanguage ( ) const
inline

Definition at line 77 of file DWARFDeclContext.h.

References m_language.

Referenced by SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext().

◆ GetQualifiedName()

const char * DWARFDeclContext::GetQualifiedName ( ) const

◆ GetQualifiedNameAsConstString()

lldb_private::ConstString DWARFDeclContext::GetQualifiedNameAsConstString ( ) const
inline

Definition at line 68 of file DWARFDeclContext.h.

References GetQualifiedName().

Referenced by SymbolFileDWARF::ParseVariableDIE().

◆ GetSize()

uint32_t DWARFDeclContext::GetSize ( ) const
inline

Definition at line 52 of file DWARFDeclContext.h.

References m_entries.

Referenced by SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext().

◆ operator==()

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

Definition at line 54 of file DWARFDeclContext.cpp.

References m_entries.

Referenced by AppendDeclContext().

◆ operator[]() [1/2]

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

Definition at line 54 of file DWARFDeclContext.h.

References m_entries.

◆ operator[]() [2/2]

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

Definition at line 59 of file DWARFDeclContext.h.

References GetQualifiedName(), and m_entries.

◆ SetLanguage()

void DWARFDeclContext::SetLanguage ( lldb::LanguageType  language)
inline

Definition at line 79 of file DWARFDeclContext.h.

References m_language.

Referenced by DWARFDIE::GetDWARFDeclContext().

Member Data Documentation

◆ m_entries

collection DWARFDeclContext::m_entries
protected

◆ m_language

lldb::LanguageType DWARFDeclContext::m_language
protected

Definition at line 85 of file DWARFDeclContext.h.

Referenced by GetLanguage(), and SetLanguage().

◆ m_qualified_name

std::string DWARFDeclContext::m_qualified_name
mutableprotected

Definition at line 84 of file DWARFDeclContext.h.

Referenced by Clear(), and GetQualifiedName().


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