LLDB mainline
|
#include <SBTypeFormat.h>
Public Member Functions | |
SBTypeFormat () | |
SBTypeFormat (lldb::Format format, uint32_t options=0) | |
SBTypeFormat (const char *type, uint32_t options=0) | |
SBTypeFormat (const lldb::SBTypeFormat &rhs) | |
~SBTypeFormat () | |
operator bool () const | |
bool | IsValid () const |
lldb::Format | GetFormat () |
const char * | GetTypeName () |
uint32_t | GetOptions () |
void | SetFormat (lldb::Format) |
void | SetTypeName (const char *) |
void | SetOptions (uint32_t) |
bool | GetDescription (lldb::SBStream &description, lldb::DescriptionLevel description_level) |
lldb::SBTypeFormat & | operator= (const lldb::SBTypeFormat &rhs) |
bool | IsEqualTo (lldb::SBTypeFormat &rhs) |
bool | operator== (lldb::SBTypeFormat &rhs) |
bool | operator!= (lldb::SBTypeFormat &rhs) |
Protected Types | |
enum class | Type { eTypeKeepSame , eTypeFormat , eTypeEnum } |
Protected Member Functions | |
lldb::TypeFormatImplSP | GetSP () |
void | SetSP (const lldb::TypeFormatImplSP &typeformat_impl_sp) |
SBTypeFormat (const lldb::TypeFormatImplSP &) | |
bool | CopyOnWrite_Impl (Type) |
Protected Attributes | |
lldb::TypeFormatImplSP | m_opaque_sp |
Friends | |
class | SBDebugger |
class | SBTypeCategory |
class | SBValue |
Definition at line 17 of file SBTypeFormat.h.
|
strongprotected |
Enumerator | |
---|---|
eTypeKeepSame | |
eTypeFormat | |
eTypeEnum |
Definition at line 71 of file SBTypeFormat.h.
SBTypeFormat::SBTypeFormat | ( | ) |
Definition at line 19 of file SBTypeFormat.cpp.
References LLDB_INSTRUMENT_VA.
SBTypeFormat::SBTypeFormat | ( | lldb::Format | format, |
uint32_t | options = 0 |
||
) |
Definition at line 21 of file SBTypeFormat.cpp.
References LLDB_INSTRUMENT_VA.
SBTypeFormat::SBTypeFormat | ( | const char * | type, |
uint32_t | options = 0 |
||
) |
Definition at line 27 of file SBTypeFormat.cpp.
References LLDB_INSTRUMENT_VA.
SBTypeFormat::SBTypeFormat | ( | const lldb::SBTypeFormat & | rhs | ) |
Definition at line 33 of file SBTypeFormat.cpp.
References LLDB_INSTRUMENT_VA.
|
default |
References lldb::operator==().
|
protected |
Definition at line 153 of file SBTypeFormat.cpp.
|
protected |
Definition at line 156 of file SBTypeFormat.cpp.
References eTypeEnum, eTypeFormat, eTypeKeepSame, GetFormat(), GetOptions(), GetTypeName(), IsValid(), m_opaque_sp, and SetSP().
Referenced by SetFormat(), SetOptions(), and SetTypeName().
bool SBTypeFormat::GetDescription | ( | lldb::SBStream & | description, |
lldb::DescriptionLevel | description_level | ||
) |
Definition at line 98 of file SBTypeFormat.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
lldb::Format SBTypeFormat::GetFormat | ( | ) |
Definition at line 50 of file SBTypeFormat.cpp.
References lldb::eFormatInvalid, IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by CopyOnWrite_Impl(), and IsEqualTo().
uint32_t SBTypeFormat::GetOptions | ( | ) |
Definition at line 68 of file SBTypeFormat.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by CopyOnWrite_Impl(), and IsEqualTo().
|
protected |
Definition at line 147 of file SBTypeFormat.cpp.
References m_opaque_sp.
Referenced by lldb::SBTypeCategory::AddTypeFormat().
const char * SBTypeFormat::GetTypeName | ( | ) |
Definition at line 58 of file SBTypeFormat.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
Referenced by CopyOnWrite_Impl().
bool SBTypeFormat::IsEqualTo | ( | lldb::SBTypeFormat & | rhs | ) |
Definition at line 127 of file SBTypeFormat.cpp.
References GetFormat(), GetOptions(), IsValid(), and LLDB_INSTRUMENT_VA.
bool SBTypeFormat::IsValid | ( | ) | const |
Definition at line 40 of file SBTypeFormat.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by lldb::SBTypeCategory::AddTypeFormat(), CopyOnWrite_Impl(), GetDescription(), GetFormat(), GetOptions(), GetTypeName(), IsEqualTo(), operator!=(), and operator==().
|
explicit |
Definition at line 44 of file SBTypeFormat.cpp.
References LLDB_INSTRUMENT_VA.
bool SBTypeFormat::operator!= | ( | lldb::SBTypeFormat & | rhs | ) |
Definition at line 139 of file SBTypeFormat.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
lldb::SBTypeFormat & SBTypeFormat::operator= | ( | const lldb::SBTypeFormat & | rhs | ) |
Definition at line 110 of file SBTypeFormat.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_sp.
bool SBTypeFormat::operator== | ( | lldb::SBTypeFormat & | rhs | ) |
Definition at line 119 of file SBTypeFormat.cpp.
References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.
void SBTypeFormat::SetFormat | ( | lldb::Format | fmt | ) |
Definition at line 76 of file SBTypeFormat.cpp.
References CopyOnWrite_Impl(), eTypeFormat, LLDB_INSTRUMENT_VA, m_opaque_sp, and SetFormat().
Referenced by SetFormat().
void SBTypeFormat::SetOptions | ( | uint32_t | value | ) |
Definition at line 91 of file SBTypeFormat.cpp.
References CopyOnWrite_Impl(), eTypeKeepSame, LLDB_INSTRUMENT_VA, and m_opaque_sp.
|
protected |
Definition at line 149 of file SBTypeFormat.cpp.
References m_opaque_sp.
Referenced by CopyOnWrite_Impl(), and lldb::SBValue::GetTypeFormat().
void SBTypeFormat::SetTypeName | ( | const char * | type | ) |
Definition at line 83 of file SBTypeFormat.cpp.
References CopyOnWrite_Impl(), eTypeEnum, LLDB_INSTRUMENT_VA, m_opaque_sp, and SetTypeName().
Referenced by SetTypeName().
|
friend |
Definition at line 59 of file SBTypeFormat.h.
|
friend |
Definition at line 60 of file SBTypeFormat.h.
|
friend |
Definition at line 61 of file SBTypeFormat.h.
|
protected |
Definition at line 67 of file SBTypeFormat.h.
Referenced by CopyOnWrite_Impl(), GetDescription(), GetFormat(), GetOptions(), GetSP(), GetTypeName(), operator!=(), operator=(), operator==(), SetFormat(), SetOptions(), SetSP(), and SetTypeName().