LLDB mainline
|
#include <TypeFormat.h>
Classes | |
class | Flags |
Public Types | |
enum class | Type { eTypeUnknown , eTypeFormat , eTypeEnum } |
typedef std::shared_ptr< TypeFormatImpl > | SharedPointer |
Public Member Functions | |
TypeFormatImpl (const Flags &flags=Flags()) | |
virtual | ~TypeFormatImpl () |
bool | Cascades () const |
bool | SkipsPointers () const |
bool | SkipsReferences () const |
bool | NonCacheable () const |
void | SetCascades (bool value) |
void | SetSkipsPointers (bool value) |
void | SetSkipsReferences (bool value) |
void | SetNonCacheable (bool value) |
uint32_t | GetOptions () |
void | SetOptions (uint32_t value) |
uint32_t & | GetRevision () |
virtual Type | GetType () |
virtual bool | FormatObject (ValueObject *valobj, std::string &dest) const =0 |
virtual std::string | GetDescription ()=0 |
Protected Attributes | |
Flags | m_flags |
uint32_t | m_my_revision = 0 |
Private Member Functions | |
TypeFormatImpl (const TypeFormatImpl &)=delete | |
const TypeFormatImpl & | operator= (const TypeFormatImpl &)=delete |
Definition at line 24 of file TypeFormat.h.
typedef std::shared_ptr<TypeFormatImpl> lldb_private::TypeFormatImpl::SharedPointer |
Definition at line 112 of file TypeFormat.h.
|
strong |
Enumerator | |
---|---|
eTypeUnknown | |
eTypeFormat | |
eTypeEnum |
Definition at line 138 of file TypeFormat.h.
Definition at line 31 of file TypeFormat.cpp.
|
virtualdefault |
|
privatedelete |
|
inline |
Definition at line 116 of file TypeFormat.h.
References lldb_private::TypeFormatImpl::Flags::GetCascades(), and m_flags.
Referenced by lldb_private::TypeFormatImpl_Format::GetDescription(), and lldb_private::TypeFormatImpl_EnumType::GetDescription().
|
pure virtual |
Implemented in lldb_private::TypeFormatImpl_Format, and lldb_private::TypeFormatImpl_EnumType.
Referenced by lldb_private::ValueObject::GetValueAsCString().
|
pure virtual |
Implemented in lldb_private::TypeFormatImpl_Format, and lldb_private::TypeFormatImpl_EnumType.
|
inline |
Definition at line 132 of file TypeFormat.h.
References lldb_private::TypeFormatImpl::Flags::GetValue(), and m_flags.
|
inline |
Definition at line 136 of file TypeFormat.h.
References m_my_revision.
|
inlinevirtual |
Reimplemented in lldb_private::TypeFormatImpl_Format, and lldb_private::TypeFormatImpl_EnumType.
Definition at line 140 of file TypeFormat.h.
References eTypeUnknown.
|
inline |
Definition at line 122 of file TypeFormat.h.
References lldb_private::TypeFormatImpl::Flags::GetNonCacheable(), and m_flags.
|
privatedelete |
|
inline |
Definition at line 124 of file TypeFormat.h.
References m_flags, and lldb_private::TypeFormatImpl::Flags::SetCascades().
|
inline |
Definition at line 130 of file TypeFormat.h.
References m_flags, and lldb_private::TypeFormatImpl::Flags::SetNonCacheable().
|
inline |
Definition at line 134 of file TypeFormat.h.
References m_flags, and lldb_private::TypeFormatImpl::Flags::SetValue().
|
inline |
Definition at line 126 of file TypeFormat.h.
References m_flags, and lldb_private::TypeFormatImpl::Flags::SetSkipPointers().
|
inline |
Definition at line 128 of file TypeFormat.h.
References m_flags, and lldb_private::TypeFormatImpl::Flags::SetSkipReferences().
|
inline |
Definition at line 118 of file TypeFormat.h.
References lldb_private::TypeFormatImpl::Flags::GetSkipPointers(), and m_flags.
Referenced by lldb_private::TypeFormatImpl_Format::GetDescription(), and lldb_private::TypeFormatImpl_EnumType::GetDescription().
|
inline |
Definition at line 120 of file TypeFormat.h.
References lldb_private::TypeFormatImpl::Flags::GetSkipReferences(), and m_flags.
Referenced by lldb_private::TypeFormatImpl_Format::GetDescription(), and lldb_private::TypeFormatImpl_EnumType::GetDescription().
|
protected |
Definition at line 151 of file TypeFormat.h.
Referenced by Cascades(), GetOptions(), NonCacheable(), SetCascades(), SetNonCacheable(), SetOptions(), SetSkipsPointers(), SetSkipsReferences(), SkipsPointers(), and SkipsReferences().
|
protected |
Definition at line 152 of file TypeFormat.h.
Referenced by GetRevision().