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

#include <ValueObjectList.h>

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

Public Member Functions

 ValueObjectList ()
 
 ValueObjectList (const ValueObjectList &rhs)
 
 ~ValueObjectList ()
 
const ValueObjectListoperator= (const ValueObjectList &rhs)
 
void Append (const lldb::ValueObjectSP &val_obj_sp)
 
void Append (const ValueObjectList &valobj_list)
 
lldb::ValueObjectSP FindValueObjectByPointer (ValueObject *valobj)
 
size_t GetSize () const
 
void Resize (size_t size)
 
lldb::ValueObjectSP GetValueObjectAtIndex (size_t idx)
 
lldb::ValueObjectSP RemoveValueObjectAtIndex (size_t idx)
 
void SetValueObjectAtIndex (size_t idx, const lldb::ValueObjectSP &valobj_sp)
 
lldb::ValueObjectSP FindValueObjectByValueName (const char *name)
 
lldb::ValueObjectSP FindValueObjectByUID (lldb::user_id_t uid)
 
void Swap (ValueObjectList &value_object_list)
 
void Clear ()
 
const std::vector< lldb::ValueObjectSP > & GetObjects () const
 

Protected Types

typedef std::vector< lldb::ValueObjectSP > collection
 

Protected Attributes

collection m_value_objects
 

Detailed Description

Definition at line 26 of file ValueObjectList.h.

Member Typedef Documentation

◆ collection

typedef std::vector<lldb::ValueObjectSP> lldb_private::ValueObjectList::collection
protected

Definition at line 65 of file ValueObjectList.h.

Constructor & Destructor Documentation

◆ ValueObjectList() [1/2]

ValueObjectList::ValueObjectList ( )

Definition at line 20 of file ValueObjectList.cpp.

◆ ValueObjectList() [2/2]

ValueObjectList::ValueObjectList ( const ValueObjectList rhs)

Definition at line 22 of file ValueObjectList.cpp.

◆ ~ValueObjectList()

ValueObjectList::~ValueObjectList ( )

Definition at line 25 of file ValueObjectList.cpp.

Member Function Documentation

◆ Append() [1/2]

void lldb_private::ValueObjectList::Append ( const lldb::ValueObjectSP &  val_obj_sp)

◆ Append() [2/2]

void ValueObjectList::Append ( const ValueObjectList valobj_list)

Definition at line 37 of file ValueObjectList.cpp.

References m_value_objects.

◆ Clear()

void lldb_private::ValueObjectList::Clear ( )
inline

Definition at line 59 of file ValueObjectList.h.

References m_value_objects.

◆ FindValueObjectByPointer()

ValueObjectSP ValueObjectList::FindValueObjectByPointer ( ValueObject valobj)

Definition at line 101 of file ValueObjectList.cpp.

References m_value_objects.

◆ FindValueObjectByUID()

ValueObjectSP ValueObjectList::FindValueObjectByUID ( lldb::user_id_t  uid)

Definition at line 84 of file ValueObjectList.cpp.

References lldb_private::UserID::GetID(), and m_value_objects.

◆ FindValueObjectByValueName()

ValueObjectSP ValueObjectList::FindValueObjectByValueName ( const char *  name)

Definition at line 70 of file ValueObjectList.cpp.

References lldb_private::ValueObject::GetName(), and m_value_objects.

◆ GetObjects()

const std::vector<lldb::ValueObjectSP>& lldb_private::ValueObjectList::GetObjects ( ) const
inline

Definition at line 61 of file ValueObjectList.h.

References m_value_objects.

Referenced by ValueObjectListDelegate::SetValues().

◆ GetSize()

size_t ValueObjectList::GetSize ( ) const

◆ GetValueObjectAtIndex()

lldb::ValueObjectSP ValueObjectList::GetValueObjectAtIndex ( size_t  idx)

◆ operator=()

const ValueObjectList & ValueObjectList::operator= ( const ValueObjectList rhs)

Definition at line 27 of file ValueObjectList.cpp.

References Append(), and m_value_objects.

◆ RemoveValueObjectAtIndex()

lldb::ValueObjectSP ValueObjectList::RemoveValueObjectAtIndex ( size_t  idx)

◆ Resize()

void ValueObjectList::Resize ( size_t  size)

◆ SetValueObjectAtIndex()

void ValueObjectList::SetValueObjectAtIndex ( size_t  idx,
const lldb::ValueObjectSP &  valobj_sp 
)

◆ Swap()

void ValueObjectList::Swap ( ValueObjectList value_object_list)

Definition at line 115 of file ValueObjectList.cpp.

References m_value_objects.

Member Data Documentation

◆ m_value_objects

collection lldb_private::ValueObjectList::m_value_objects
protected

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