LLDB mainline
|
#include <SBTypeSummary.h>
Public Types | |
typedef bool(* | FormatCallback) (SBValue, SBTypeSummaryOptions, SBStream &) |
Public Member Functions | |
SBTypeSummary () | |
SBTypeSummary (const lldb::SBTypeSummary &rhs) | |
~SBTypeSummary () | |
operator bool () const | |
bool | IsValid () const |
bool | IsFunctionCode () |
bool | IsFunctionName () |
bool | IsSummaryString () |
const char * | GetData () |
void | SetSummaryString (const char *data) |
void | SetFunctionName (const char *data) |
void | SetFunctionCode (const char *data) |
uint32_t | GetOptions () |
void | SetOptions (uint32_t) |
bool | GetDescription (lldb::SBStream &description, lldb::DescriptionLevel description_level) |
lldb::SBTypeSummary & | operator= (const lldb::SBTypeSummary &rhs) |
bool | DoesPrintValue (lldb::SBValue value) |
bool | IsEqualTo (lldb::SBTypeSummary &rhs) |
bool | operator== (lldb::SBTypeSummary &rhs) |
bool | operator!= (lldb::SBTypeSummary &rhs) |
Static Public Member Functions | |
static SBTypeSummary | CreateWithSummaryString (const char *data, uint32_t options=0) |
static SBTypeSummary | CreateWithFunctionName (const char *data, uint32_t options=0) |
static SBTypeSummary | CreateWithScriptCode (const char *data, uint32_t options=0) |
static SBTypeSummary | CreateWithCallback (FormatCallback cb, uint32_t options=0, const char *description=nullptr) |
Protected Member Functions | |
lldb::TypeSummaryImplSP | GetSP () |
void | SetSP (const lldb::TypeSummaryImplSP &typefilter_impl_sp) |
SBTypeSummary (const lldb::TypeSummaryImplSP &) | |
bool | CopyOnWrite_Impl () |
bool | ChangeSummaryType (bool want_script) |
Protected Attributes | |
lldb::TypeSummaryImplSP | m_opaque_sp |
Friends | |
class | SBDebugger |
class | SBTypeCategory |
class | SBValue |
Definition at line 65 of file SBTypeSummary.h.
typedef bool(* lldb::SBTypeSummary::FormatCallback) (SBValue, SBTypeSummaryOptions, SBStream &) |
Definition at line 70 of file SBTypeSummary.h.
SBTypeSummary::SBTypeSummary | ( | ) |
Definition at line 103 of file SBTypeSummary.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by CreateWithFunctionName(), CreateWithScriptCode(), and CreateWithSummaryString().
SBTypeSummary::SBTypeSummary | ( | const lldb::SBTypeSummary & | rhs | ) |
Definition at line 163 of file SBTypeSummary.cpp.
References LLDB_INSTRUMENT_VA.
|
default |
|
protected |
Definition at line 377 of file SBTypeSummary.cpp.
|
protected |
Definition at line 410 of file SBTypeSummary.cpp.
References CopyOnWrite_Impl(), lldb_private::TypeSummaryImpl::eCallback, GetOptions(), IsValid(), m_opaque_sp, and SetSP().
Referenced by SetFunctionCode(), SetFunctionName(), and SetSummaryString().
|
protected |
Definition at line 380 of file SBTypeSummary.cpp.
References GetOptions(), IsValid(), m_opaque_sp, and SetSP().
Referenced by ChangeSummaryType(), GetDescription(), and SetOptions().
|
static |
Definition at line 138 of file SBTypeSummary.cpp.
References lldb::SBStream::GetData(), lldb::SBStream::GetSize(), lldb_private::ValueObject::GetSP(), LLDB_INSTRUMENT_VA, SetSP(), and lldb_private::Stream::Write().
|
static |
Definition at line 116 of file SBTypeSummary.cpp.
References LLDB_INSTRUMENT_VA, and SBTypeSummary().
|
static |
Definition at line 127 of file SBTypeSummary.cpp.
References LLDB_INSTRUMENT_VA, and SBTypeSummary().
|
static |
Definition at line 105 of file SBTypeSummary.cpp.
References LLDB_INSTRUMENT_VA, and SBTypeSummary().
bool SBTypeSummary::DoesPrintValue | ( | lldb::SBValue | value | ) |
Definition at line 297 of file SBTypeSummary.cpp.
References lldb::SBValue::GetSP(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
const char * SBTypeSummary::GetData | ( | ) |
Definition at line 215 of file SBTypeSummary.cpp.
References lldb_private::ConstString::GetCString(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by lldb::SBTypeCategory::AddTypeSummary().
bool SBTypeSummary::GetDescription | ( | lldb::SBStream & | description, |
lldb::DescriptionLevel | description_level | ||
) |
Definition at line 285 of file SBTypeSummary.cpp.
References CopyOnWrite_Impl(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
uint32_t SBTypeSummary::GetOptions | ( | ) |
Definition at line 233 of file SBTypeSummary.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by ChangeSummaryType(), CopyOnWrite_Impl(), and IsEqualTo().
|
protected |
Definition at line 371 of file SBTypeSummary.cpp.
References m_opaque_sp.
Referenced by lldb::SBTypeCategory::AddTypeSummary().
bool SBTypeSummary::IsEqualTo | ( | lldb::SBTypeSummary & | rhs | ) |
Definition at line 323 of file SBTypeSummary.cpp.
References GetOptions(), IsFunctionCode(), IsFunctionName(), IsSummaryString(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBTypeSummary::IsFunctionCode | ( | ) |
Definition at line 180 of file SBTypeSummary.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by lldb::SBTypeCategory::AddTypeSummary(), and IsEqualTo().
bool SBTypeSummary::IsFunctionName | ( | ) |
Definition at line 193 of file SBTypeSummary.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by IsEqualTo().
bool SBTypeSummary::IsSummaryString | ( | ) |
Definition at line 206 of file SBTypeSummary.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by IsEqualTo().
bool SBTypeSummary::IsValid | ( | ) | const |
Definition at line 170 of file SBTypeSummary.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by lldb::SBTypeCategory::AddTypeSummary(), ChangeSummaryType(), CopyOnWrite_Impl(), DoesPrintValue(), GetData(), GetOptions(), IsEqualTo(), IsFunctionCode(), IsFunctionName(), IsSummaryString(), operator!=(), operator==(), SetFunctionCode(), SetFunctionName(), and SetSummaryString().
|
explicit |
Definition at line 174 of file SBTypeSummary.cpp.
References LLDB_INSTRUMENT_VA.
bool SBTypeSummary::operator!= | ( | lldb::SBTypeSummary & | rhs | ) |
Definition at line 363 of file SBTypeSummary.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
lldb::SBTypeSummary & SBTypeSummary::operator= | ( | const lldb::SBTypeSummary & | rhs | ) |
Definition at line 306 of file SBTypeSummary.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBTypeSummary::operator== | ( | lldb::SBTypeSummary & | rhs | ) |
Definition at line 315 of file SBTypeSummary.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
void SBTypeSummary::SetFunctionCode | ( | const char * | data | ) |
Definition at line 273 of file SBTypeSummary.cpp.
References ChangeSummaryType(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
void SBTypeSummary::SetFunctionName | ( | const char * | data | ) |
Definition at line 261 of file SBTypeSummary.cpp.
References ChangeSummaryType(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by lldb::SBTypeCategory::AddTypeSummary().
void SBTypeSummary::SetOptions | ( | uint32_t | value | ) |
Definition at line 241 of file SBTypeSummary.cpp.
References CopyOnWrite_Impl(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
|
protected |
Definition at line 373 of file SBTypeSummary.cpp.
References m_opaque_sp.
Referenced by ChangeSummaryType(), CopyOnWrite_Impl(), CreateWithCallback(), and lldb::SBValue::GetTypeSummary().
void SBTypeSummary::SetSummaryString | ( | const char * | data | ) |
Definition at line 249 of file SBTypeSummary.cpp.
References ChangeSummaryType(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
|
friend |
Definition at line 130 of file SBTypeSummary.h.
|
friend |
Definition at line 131 of file SBTypeSummary.h.
|
friend |
Definition at line 132 of file SBTypeSummary.h.
|
protected |
Definition at line 138 of file SBTypeSummary.h.
Referenced by ChangeSummaryType(), CopyOnWrite_Impl(), DoesPrintValue(), GetData(), GetDescription(), GetOptions(), GetSP(), IsEqualTo(), IsFunctionCode(), IsFunctionName(), IsSummaryString(), operator!=(), operator=(), operator==(), SetFunctionCode(), SetFunctionName(), SetOptions(), SetSP(), and SetSummaryString().