LLDB mainline
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
lldb_private::TypeList Class Reference

#include <TypeList.h>

Public Types

typedef std::vector< lldb::TypeSPcollection
typedef AdaptedIterable< collection, lldb::TypeSP, vector_adapterTypeIterable

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)
void RemoveMismatchedTypes (llvm::StringRef qualified_typename, bool exact_match)
void RemoveMismatchedTypes (llvm::StringRef type_scope, llvm::StringRef type_basename, lldb::TypeClass type_class, bool exact_match)
void RemoveMismatchedTypes (lldb::TypeClass type_class)

Private Types

typedef collection::iterator iterator
typedef collection::const_iterator const_iterator

Private Member Functions

 TypeList (const TypeList &)=delete
const TypeListoperator= (const TypeList &)=delete

Private Attributes

collection m_types

Detailed Description

Definition at line 20 of file TypeList.h.

Member Typedef Documentation

◆ collection

Definition at line 41 of file TypeList.h.

◆ const_iterator

typedef collection::const_iterator lldb_private::TypeList::const_iterator

Definition at line 63 of file TypeList.h.

◆ iterator

typedef collection::iterator lldb_private::TypeList::iterator

Definition at line 62 of file TypeList.h.

◆ TypeIterable

Definition at line 43 of file TypeList.h.

Constructor & Destructor Documentation

◆ TypeList() [1/2]

TypeList::TypeList ( )

Definition at line 22 of file TypeList.cpp.

◆ ~TypeList()

TypeList::~TypeList ( )

◆ TypeList() [2/2]

lldb_private::TypeList::TypeList ( const TypeList )

Member Function Documentation

◆ Clear()

void TypeList::Clear ( )

Definition at line 58 of file TypeList.cpp.

References m_types.

◆ Dump()

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().

◆ Empty()

bool lldb_private::TypeList::Empty ( ) const

◆ FindTypes()

TypeList lldb_private::TypeList::FindTypes ( ConstString  name)

◆ ForEach() [1/2]

void TypeList::ForEach ( std::function< bool(const lldb::TypeSP &type_sp)> const &  callback) const

◆ ForEach() [2/2]

void TypeList::ForEach ( std::function< bool(lldb::TypeSP &type_sp)> const &  callback)

Definition at line 86 of file TypeList.cpp.

References m_types.

◆ GetSize()

uint32_t TypeList::GetSize ( ) const

◆ GetTypeAtIndex()

TypeSP TypeList::GetTypeAtIndex ( uint32_t  idx)

◆ Insert()

void TypeList::Insert ( const lldb::TypeSP type)

◆ operator=()

const TypeList & lldb_private::TypeList::operator= ( const TypeList )

◆ RemoveMismatchedTypes() [1/3]

void lldb_private::TypeList::RemoveMismatchedTypes ( lldb::TypeClass  type_class)

◆ RemoveMismatchedTypes() [2/3]

void TypeList::RemoveMismatchedTypes ( llvm::StringRef  qualified_typename,
bool  exact_match 

◆ RemoveMismatchedTypes() [3/3]

void lldb_private::TypeList::RemoveMismatchedTypes ( llvm::StringRef  type_scope,
llvm::StringRef  type_basename,
lldb::TypeClass  type_class,
bool  exact_match 

◆ Types()

TypeIterable lldb_private::TypeList::Types ( )

Definition at line 45 of file TypeList.h.

References m_types.

Referenced by LookupTypeInModule().

Member Data Documentation

◆ m_types

collection lldb_private::TypeList::m_types

Definition at line 65 of file TypeList.h.

Referenced by Clear(), Dump(), ForEach(), GetSize(), GetTypeAtIndex(), Insert(), and Types().

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