LLDB mainline
|
#include <TypeList.h>
Public Types | |
typedef std::vector< lldb::TypeSP > | collection |
typedef AdaptedIterable< collection, lldb::TypeSP, vector_adapter > | TypeIterable |
Public Member Functions | |
TypeList () | |
virtual | ~TypeList () |
void | Clear () |
void | Dump (Stream *s, bool show_context) |
TypeList | FindTypes (ConstString name) |
void | Insert (const lldb::TypeSP &type) |
uint32_t | GetSize () const |
bool | Empty () const |
lldb::TypeSP | GetTypeAtIndex (uint32_t idx) |
TypeIterable | Types () |
void | ForEach (std::function< bool(const lldb::TypeSP &type_sp)> const &callback) const |
void | ForEach (std::function< bool(lldb::TypeSP &type_sp)> const &callback) |
Private Types | |
typedef collection::iterator | iterator |
typedef collection::const_iterator | const_iterator |
Private Member Functions | |
TypeList (const TypeList &)=delete | |
const TypeList & | operator= (const TypeList &)=delete |
Private Attributes | |
collection | m_types |
Definition at line 20 of file TypeList.h.
typedef std::vector<lldb::TypeSP> lldb_private::TypeList::collection |
Definition at line 41 of file TypeList.h.
|
private |
Definition at line 54 of file TypeList.h.
|
private |
Definition at line 53 of file TypeList.h.
typedef AdaptedIterable<collection, lldb::TypeSP, vector_adapter> lldb_private::TypeList::TypeIterable |
Definition at line 43 of file TypeList.h.
TypeList::TypeList | ( | ) |
Definition at line 22 of file TypeList.cpp.
|
virtualdefault |
|
privatedelete |
void TypeList::Clear | ( | ) |
Definition at line 58 of file TypeList.cpp.
References m_types.
void TypeList::Dump | ( | Stream * | s, |
bool | show_context | ||
) |
Definition at line 94 of file TypeList.cpp.
References m_types.
Referenced by lldb_private::SymbolFileCommon::Dump().
|
inline |
Definition at line 37 of file TypeList.h.
References GetSize().
Referenced by lldb_private::ItaniumABILanguageRuntime::GetTypeInfo(), LookupTypeHere(), and LookupTypeInModule().
TypeList lldb_private::TypeList::FindTypes | ( | ConstString | name | ) |
void TypeList::ForEach | ( | std::function< bool(const lldb::TypeSP &type_sp)> const & | callback | ) | const |
Definition at line 78 of file TypeList.cpp.
References m_types.
Referenced by lldb_private::TypeListImpl::Append(), and lldb_private::SymbolContext::SortTypeList().
void TypeList::ForEach | ( | std::function< bool(lldb::TypeSP &type_sp)> const & | callback | ) |
Definition at line 86 of file TypeList.cpp.
References m_types.
uint32_t TypeList::GetSize | ( | ) | const |
Definition at line 60 of file TypeList.cpp.
References m_types.
Referenced by lldb_private::TypeSystemClang::DumpFromSymbolFile(), Empty(), GetTypeAtIndex(), lldb_private::ItaniumABILanguageRuntime::GetTypeInfo(), LookupTypeHere(), LookupTypeInModule(), lldb_private::npdb::SymbolFileNativePDB::ParseTypes(), and lldb_private::SymbolContext::SortTypeList().
TypeSP TypeList::GetTypeAtIndex | ( | uint32_t | idx | ) |
Definition at line 66 of file TypeList.cpp.
References GetSize(), and m_types.
Referenced by lldb_private::TypeSystemClang::DumpFromSymbolFile(), lldb_private::ItaniumABILanguageRuntime::GetTypeInfo(), LookupTypeHere(), and lldb_private::SymbolContext::SortTypeList().
void TypeList::Insert | ( | const lldb::TypeSP & | type | ) |
Definition at line 27 of file TypeList.cpp.
References m_types.
Referenced by lldb_private::SymbolFileCommon::CopyType(), lldb_private::npdb::SymbolFileNativePDB::GetOrCreateType(), lldb_private::ItaniumABILanguageRuntime::GetTypeInfo(), SymbolFilePDB::GetTypes(), lldb_private::SymbolFileCommon::MakeType(), and lldb_private::SymbolContext::SortTypeList().
|
inline |
|
private |
Definition at line 56 of file TypeList.h.
Referenced by Clear(), Dump(), ForEach(), GetSize(), GetTypeAtIndex(), Insert(), and Types().