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

#include <TypeList.h>

Public Types

typedef std::vector< lldb::TypeSP > collection
 
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
 
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 (const char *qualified_typename, bool exact_match)
 
void RemoveMismatchedTypes (const std::string &type_scope, const std::string &type_basename, lldb::TypeClass type_class, bool exact_match)
 
void RemoveMismatchedTypes (lldb::TypeClass type_class)
 

Detailed Description

Definition at line 20 of file TypeList.h.

Member Typedef Documentation

◆ collection

typedef std::vector<lldb::TypeSP> lldb_private::TypeList::collection

Definition at line 42 of file TypeList.h.

◆ TypeIterable

Definition at line 44 of file TypeList.h.

Constructor & Destructor Documentation

◆ TypeList()

TypeList::TypeList ( )

Definition at line 22 of file TypeList.cpp.

◆ ~TypeList()

TypeList::~TypeList ( )
virtual

Definition at line 25 of file TypeList.cpp.

Member Function Documentation

◆ Clear()

void TypeList::Clear ( )

Definition at line 58 of file TypeList.cpp.

◆ Dump()

void TypeList::Dump ( Stream s,
bool  show_context 
)

Definition at line 94 of file TypeList.cpp.

Referenced by lldb_private::SymbolVendor::Dump().

◆ 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.

◆ GetSize()

uint32_t TypeList::GetSize ( ) const

◆ GetTypeAtIndex()

TypeSP TypeList::GetTypeAtIndex ( uint32_t  idx)

◆ Insert()

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

◆ RemoveMismatchedTypes() [1/3]

void TypeList::RemoveMismatchedTypes ( const char *  qualified_typename,
bool  exact_match 
)

◆ RemoveMismatchedTypes() [2/3]

void lldb_private::TypeList::RemoveMismatchedTypes ( const std::string &  type_scope,
const std::string &  type_basename,
lldb::TypeClass  type_class,
bool  exact_match 
)

◆ RemoveMismatchedTypes() [3/3]

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

◆ Types()

TypeIterable lldb_private::TypeList::Types ( )
inline

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