LLDB mainline
lldb_private::TypeList Class Reference

#include <TypeList.h>

Public Types

typedef std::vector< lldb::TypeSPcollection
typedef llvm::iterator_range< collection::const_iterator > TypeIterable

Public Member Functions

 TypeList ()
virtual ~TypeList ()
void Clear ()
void Dump (Stream *s, bool show_context)
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 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 39 of file TypeList.h.

◆ const_iterator

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

Definition at line 51 of file TypeList.h.

◆ iterator

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

Definition at line 50 of file TypeList.h.

◆ TypeIterable

typedef llvm::iterator_range<collection::const_iterator> lldb_private::TypeList::TypeIterable

Definition at line 40 of file TypeList.h.

Constructor & Destructor Documentation

◆ TypeList() [1/2]

TypeList::TypeList ( )

Definition at line 22 of file TypeList.cpp.

References m_types.

Referenced by operator=(), and TypeList().

◆ ~TypeList()

TypeList::~TypeList ( )
virtualdefault

◆ TypeList() [2/2]

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

References TypeList().

Member Function Documentation

◆ Clear()

void TypeList::Clear ( )

Definition at line 34 of file TypeList.cpp.

References m_types.

◆ Dump()

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

Definition at line 70 of file TypeList.cpp.

References m_types.

◆ Empty()

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

◆ 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 62 of file TypeList.cpp.

References m_types.

◆ GetSize()

◆ GetTypeAtIndex()

◆ Insert()

◆ operator=()

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

References TypeList().

◆ Types()

TypeIterable lldb_private::TypeList::Types ( )
inline

Definition at line 42 of file TypeList.h.

References m_types.

Referenced by LookupTypeInModule().

Member Data Documentation

◆ m_types

collection lldb_private::TypeList::m_types
private

Definition at line 53 of file TypeList.h.

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


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