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>

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)
 
lldb::SBError GetError ()
 

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 ()
 
void SetError (const lldb_private::Status &status)
 

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 77 of file SBValueList.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBValueList() [2/3]

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

Definition at line 79 of file SBValueList.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ ~SBValueList()

SBValueList::~SBValueList ( )
default

◆ SBValueList() [3/3]

SBValueList::SBValueList ( const ValueListImpl lldb_object_ptr)
private

Definition at line 86 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 145 of file SBValueList.cpp.

References CreateIfNeeded(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ Append() [3/3]

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

Definition at line 138 of file SBValueList.cpp.

References CreateIfNeeded(), and m_opaque_up.

◆ Clear()

void SBValueList::Clear ( )

Definition at line 103 of file SBValueList.cpp.

References LLDB_INSTRUMENT_VA, 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_INSTRUMENT_VA, and m_opaque_up.

◆ GetError()

lldb::SBError SBValueList::GetError ( )

Definition at line 204 of file SBValueList.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_up, and lldb::SBError::SetError().

◆ GetFirstValueByName()

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

Definition at line 188 of file SBValueList.cpp.

References LLDB_INSTRUMENT_VA, 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 197 of file SBValueList.cpp.

References m_opaque_up.

◆ operator bool()

SBValueList::operator bool ( ) const
explicit

Definition at line 97 of file SBValueList.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator*() [1/2]

ValueListImpl & SBValueList::operator* ( )
private

Definition at line 123 of file SBValueList.cpp.

References m_opaque_up.

◆ operator*() [2/2]

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

Definition at line 129 of file SBValueList.cpp.

References m_opaque_up.

◆ operator->() [1/2]

ValueListImpl * SBValueList::operator-> ( )
private

Definition at line 121 of file SBValueList.cpp.

References m_opaque_up.

◆ operator->() [2/2]

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

Definition at line 125 of file SBValueList.cpp.

References m_opaque_up.

◆ operator=()

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

Definition at line 109 of file SBValueList.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ ref()

ValueListImpl & SBValueList::ref ( )
private

Definition at line 199 of file SBValueList.cpp.

References CreateIfNeeded(), and m_opaque_up.

Referenced by SetError().

◆ SetError()

void SBValueList::SetError ( const lldb_private::Status status)
private

Definition at line 212 of file SBValueList.cpp.

References ref(), and ValueListImpl::SetError().

Referenced by lldb::SBFrame::GetVariables().

Friends And Related Function Documentation

◆ SBFrame

friend class SBFrame
friend

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