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>

Collaboration diagram for lldb_private::TypeList:
Collaboration graph
[legend]

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

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

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

Definition at line 41 of file TypeList.h.

◆ const_iterator

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

Definition at line 62 of file TypeList.h.

◆ iterator

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

Definition at line 61 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 ( )
virtualdefault

◆ TypeList() [2/2]

lldb_private::TypeList::TypeList ( const TypeList )
privatedelete

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.

◆ Empty()

bool lldb_private::TypeList::Empty ( ) const
inline

◆ 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 )
privatedelete

◆ RemoveMismatchedTypes() [1/3]

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

Definition at line 100 of file TypeList.cpp.

References lldb_private::Type::GetTypeScopeAndBasename(), and string().

◆ 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

Member Data Documentation

◆ m_types

collection lldb_private::TypeList::m_types
private

Definition at line 64 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: