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

#include <DWARFDeclContext.h>

Classes

struct  Entry
 

Public Member Functions

 DWARFDeclContext ()
 
 DWARFDeclContext (llvm::ArrayRef< Entry > entries)
 
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
 
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 27 of file DWARFDeclContext.h.

Member Typedef Documentation

◆ collection

Definition at line 87 of file DWARFDeclContext.h.

Constructor & Destructor Documentation

◆ DWARFDeclContext() [1/2]

lldb_private::plugin::dwarf::DWARFDeclContext::DWARFDeclContext ( )
inline

Definition at line 48 of file DWARFDeclContext.h.

◆ DWARFDeclContext() [2/2]

lldb_private::plugin::dwarf::DWARFDeclContext::DWARFDeclContext ( llvm::ArrayRef< Entry entries)
inline

Definition at line 50 of file DWARFDeclContext.h.

References m_entries.

Member Function Documentation

◆ AppendDeclContext()

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

◆ Clear()

void lldb_private::plugin::dwarf::DWARFDeclContext::Clear ( )
inline

Definition at line 81 of file DWARFDeclContext.h.

References m_entries, and m_qualified_name.

◆ GetQualifiedName()

const char * DWARFDeclContext::GetQualifiedName ( ) const

◆ GetQualifiedNameAsConstString()

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

◆ GetSize()

uint32_t lldb_private::plugin::dwarf::DWARFDeclContext::GetSize ( ) const
inline

◆ operator!=()

bool lldb_private::plugin::dwarf::DWARFDeclContext::operator!= ( const DWARFDeclContext rhs) const
inline

Definition at line 59 of file DWARFDeclContext.h.

◆ operator==()

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

Definition at line 58 of file DWARFDeclContext.cpp.

References m_entries.

◆ operator[]() [1/2]

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

Definition at line 63 of file DWARFDeclContext.h.

References m_entries.

◆ operator[]() [2/2]

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

Definition at line 68 of file DWARFDeclContext.h.

References m_entries.

Member Data Documentation

◆ m_entries

collection lldb_private::plugin::dwarf::DWARFDeclContext::m_entries
protected

◆ m_qualified_name

std::string lldb_private::plugin::dwarf::DWARFDeclContext::m_qualified_name
mutableprotected

Definition at line 89 of file DWARFDeclContext.h.

Referenced by Clear(), and GetQualifiedName().


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