LLDB  mainline
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
lldb::SBValueList Class Reference

#include <SBValueList.h>

Collaboration diagram for lldb::SBValueList:
Collaboration graph
[legend]

Public Member Functions

 SBValueList ()
 
 SBValueList (const lldb::SBValueList &rhs)
 
 ~SBValueList ()
 
 operator bool () const
 
bool IsValid () const
 
void Clear ()
 
void Append (const lldb::SBValue &val_obj)
 
void Append (const lldb::SBValueList &value_list)
 
uint32_t GetSize () const
 
lldb::SBValue GetValueAtIndex (uint32_t idx) const
 
lldb::SBValue GetFirstValueByName (const char *name) const
 
lldb::SBValue FindValueObjectByUID (lldb::user_id_t uid)
 
const lldb::SBValueListoperator= (const lldb::SBValueList &rhs)
 

Protected Member Functions

void * opaque_ptr ()
 

Private Member Functions

 SBValueList (const ValueListImpl *lldb_object_ptr)
 
void Append (lldb::ValueObjectSP &val_obj_sp)
 
void CreateIfNeeded ()
 
ValueListImploperator-> ()
 
ValueListImploperator* ()
 
const ValueListImploperator-> () const
 
const ValueListImploperator* () const
 
ValueListImplref ()
 

Private Attributes

std::unique_ptr< ValueListImplm_opaque_up
 

Friends

class SBFrame
 

Detailed Description

Definition at line 18 of file SBValueList.h.

Constructor & Destructor Documentation

◆ SBValueList() [1/3]

SBValueList::SBValueList ( )

Definition at line 70 of file SBValueList.cpp.

References LLDB_RECORD_CONSTRUCTOR_NO_ARGS.

◆ SBValueList() [2/3]

SBValueList::SBValueList ( const lldb::SBValueList rhs)

Definition at line 74 of file SBValueList.cpp.

References IsValid(), LLDB_RECORD_CONSTRUCTOR, and m_opaque_up.

◆ ~SBValueList()

SBValueList::~SBValueList ( )
default

◆ SBValueList() [3/3]

SBValueList::SBValueList ( const ValueListImpl lldb_object_ptr)
private

Definition at line 81 of file SBValueList.cpp.

References m_opaque_up.

Member Function Documentation

◆ Append() [1/3]

void SBValueList::Append ( const lldb::SBValue val_obj)

◆ Append() [2/3]

void SBValueList::Append ( const lldb::SBValueList value_list)

Definition at line 142 of file SBValueList.cpp.

References Append(), CreateIfNeeded(), IsValid(), LLDB_RECORD_METHOD, and m_opaque_up.

◆ Append() [3/3]

void SBValueList::Append ( lldb::ValueObjectSP &  val_obj_sp)
private

Definition at line 135 of file SBValueList.cpp.

References CreateIfNeeded(), m_opaque_up, and lldb::SBValue.

◆ Clear()

void SBValueList::Clear ( )

Definition at line 98 of file SBValueList.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, and m_opaque_up.

◆ CreateIfNeeded()

void SBValueList::CreateIfNeeded ( )
private

Definition at line 174 of file SBValueList.cpp.

References m_opaque_up.

Referenced by Append(), and ref().

◆ FindValueObjectByUID()

SBValue SBValueList::FindValueObjectByUID ( lldb::user_id_t  uid)

Definition at line 179 of file SBValueList.cpp.

References LLDB_RECORD_METHOD, LLDB_RECORD_RESULT, and m_opaque_up.

◆ GetFirstValueByName()

SBValue SBValueList::GetFirstValueByName ( const char *  name) const

Definition at line 189 of file SBValueList.cpp.

References LLDB_RECORD_METHOD_CONST, LLDB_RECORD_RESULT, and m_opaque_up.

◆ GetSize()

uint32_t SBValueList::GetSize ( ) const

◆ GetValueAtIndex()

SBValue SBValueList::GetValueAtIndex ( uint32_t  idx) const

◆ IsValid()

bool SBValueList::IsValid ( ) const

◆ opaque_ptr()

void * SBValueList::opaque_ptr ( )
protected

Definition at line 199 of file SBValueList.cpp.

References m_opaque_up.

◆ operator bool()

SBValueList::operator bool ( ) const
explicit

Definition at line 92 of file SBValueList.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator*() [1/2]

const ValueListImpl & SBValueList::operator* ( )
private

Definition at line 119 of file SBValueList.cpp.

References m_opaque_up.

◆ operator*() [2/2]

const ValueListImpl& lldb::SBValueList::operator* ( ) const
private

◆ operator->() [1/2]

const ValueListImpl * SBValueList::operator-> ( )
private

Definition at line 117 of file SBValueList.cpp.

References m_opaque_up.

◆ operator->() [2/2]

const ValueListImpl* lldb::SBValueList::operator-> ( ) const
private

◆ operator=()

const SBValueList & SBValueList::operator= ( const lldb::SBValueList rhs)

Definition at line 104 of file SBValueList.cpp.

References IsValid(), LLDB_RECORD_METHOD, LLDB_RECORD_RESULT, and m_opaque_up.

◆ ref()

ValueListImpl & SBValueList::ref ( )
private

Definition at line 201 of file SBValueList.cpp.

References CreateIfNeeded(), and m_opaque_up.

Friends And Related Function Documentation

◆ SBFrame

friend class SBFrame
friend

Definition at line 52 of file SBValueList.h.

Member Data Documentation

◆ m_opaque_up

std::unique_ptr<ValueListImpl> lldb::SBValueList::m_opaque_up
private

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