LLDB mainline
|
#include <TypeSummary.h>
Classes | |
class | Flags |
Public Types | |
enum class | Kind { eSummaryString , eScript , eCallback , eInternal } |
typedef std::shared_ptr< TypeSummaryImpl > | SharedPointer |
Public Member Functions | |
virtual | ~TypeSummaryImpl ()=default |
Kind | GetKind () const |
bool | Cascades () const |
bool | SkipsPointers () const |
bool | SkipsReferences () const |
bool | NonCacheable () const |
virtual bool | DoesPrintChildren (ValueObject *valobj) const |
virtual bool | DoesPrintEmptyAggregates () const |
virtual bool | DoesPrintValue (ValueObject *valobj) const |
bool | IsOneLiner () const |
virtual bool | HideNames (ValueObject *valobj) const |
void | SetCascades (bool value) |
void | SetSkipsPointers (bool value) |
void | SetSkipsReferences (bool value) |
virtual void | SetDoesPrintChildren (bool value) |
virtual void | SetDoesPrintValue (bool value) |
void | SetIsOneLiner (bool value) |
virtual void | SetHideNames (bool value) |
virtual void | SetNonCacheable (bool value) |
uint32_t | GetOptions () |
void | SetOptions (uint32_t value) |
virtual bool | FormatObject (ValueObject *valobj, std::string &dest, const TypeSummaryOptions &options)=0 |
virtual std::string | GetDescription ()=0 |
uint32_t & | GetRevision () |
Protected Member Functions | |
TypeSummaryImpl (Kind kind, const TypeSummaryImpl::Flags &flags) | |
Protected Attributes | |
uint32_t | m_my_revision = 0 |
Flags | m_flags |
Private Member Functions | |
TypeSummaryImpl (const TypeSummaryImpl &)=delete | |
const TypeSummaryImpl & | operator= (const TypeSummaryImpl &)=delete |
Private Attributes | |
Kind | m_kind |
Definition at line 45 of file TypeSummary.h.
typedef std::shared_ptr<TypeSummaryImpl> lldb_private::TypeSummaryImpl::SharedPointer |
Definition at line 263 of file TypeSummary.h.
|
strong |
Enumerator | |
---|---|
eSummaryString | |
eScript | |
eCallback | |
eInternal |
Definition at line 47 of file TypeSummary.h.
|
virtualdefault |
|
protected |
Definition at line 48 of file TypeSummary.cpp.
|
privatedelete |
|
inline |
Definition at line 202 of file TypeSummary.h.
References lldb_private::TypeSummaryImpl::Flags::GetCascades(), and m_flags.
Referenced by lldb_private::StringSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), and lldb_private::ScriptSummaryFormat::GetDescription().
|
inlinevirtual |
Definition at line 210 of file TypeSummary.h.
References lldb_private::TypeSummaryImpl::Flags::GetDontShowChildren(), and m_flags.
Referenced by lldb_private::StringSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), and lldb_private::ScriptSummaryFormat::GetDescription().
|
inlinevirtual |
Definition at line 214 of file TypeSummary.h.
References lldb_private::TypeSummaryImpl::Flags::GetHideEmptyAggregates(), and m_flags.
Referenced by lldb_private::ValueObjectPrinter::ShouldExpandEmptyAggregates().
|
inlinevirtual |
Definition at line 218 of file TypeSummary.h.
References lldb_private::TypeSummaryImpl::Flags::GetDontShowValue(), and m_flags.
Referenced by lldb_private::StringSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::ValueObjectPrinter::PrintValueAndSummaryIfNeeded().
|
pure virtual |
Implemented in lldb_private::StringSummaryFormat, lldb_private::CXXFunctionSummaryFormat, and lldb_private::ScriptSummaryFormat.
Referenced by lldb_private::ValueObject::GetSummaryAsCString().
|
pure virtual |
|
inline |
Definition at line 51 of file TypeSummary.h.
References m_kind.
Referenced by lldb_private::StringSummaryFormat::classof(), lldb_private::CXXFunctionSummaryFormat::classof(), and lldb_private::ScriptSummaryFormat::classof().
|
inline |
Definition at line 248 of file TypeSummary.h.
References lldb_private::TypeSummaryImpl::Flags::GetValue(), and m_flags.
|
inline |
Definition at line 261 of file TypeSummary.h.
References m_my_revision.
|
inlinevirtual |
Definition at line 224 of file TypeSummary.h.
References lldb_private::TypeSummaryImpl::Flags::GetHideItemNames(), and m_flags.
Referenced by lldb_private::StringSummaryFormat::FormatObject(), lldb_private::StringSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), and lldb_private::ScriptSummaryFormat::GetDescription().
|
inline |
Definition at line 222 of file TypeSummary.h.
References lldb_private::TypeSummaryImpl::Flags::GetShowMembersOneLiner(), and m_flags.
Referenced by lldb_private::StringSummaryFormat::FormatObject(), lldb_private::StringSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), and lldb_private::ScriptSummaryFormat::GetDescription().
|
inline |
Definition at line 208 of file TypeSummary.h.
References lldb_private::TypeSummaryImpl::Flags::GetNonCacheable(), and m_flags.
|
privatedelete |
|
inline |
Definition at line 228 of file TypeSummary.h.
References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetCascades().
|
inlinevirtual |
Definition at line 234 of file TypeSummary.h.
References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetDontShowChildren().
|
inlinevirtual |
Definition at line 238 of file TypeSummary.h.
References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetDontShowValue().
|
inlinevirtual |
Definition at line 244 of file TypeSummary.h.
References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetHideItemNames().
|
inline |
Definition at line 242 of file TypeSummary.h.
References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetShowMembersOneLiner().
|
inlinevirtual |
Definition at line 246 of file TypeSummary.h.
References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetNonCacheable().
|
inline |
Definition at line 250 of file TypeSummary.h.
References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetValue().
|
inline |
Definition at line 230 of file TypeSummary.h.
References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetSkipPointers().
|
inline |
Definition at line 232 of file TypeSummary.h.
References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetSkipReferences().
|
inline |
Definition at line 204 of file TypeSummary.h.
References lldb_private::TypeSummaryImpl::Flags::GetSkipPointers(), and m_flags.
Referenced by lldb_private::StringSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), and lldb_private::ScriptSummaryFormat::GetDescription().
|
inline |
Definition at line 206 of file TypeSummary.h.
References lldb_private::TypeSummaryImpl::Flags::GetSkipReferences(), and m_flags.
Referenced by lldb_private::StringSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), and lldb_private::ScriptSummaryFormat::GetDescription().
|
protected |
Definition at line 267 of file TypeSummary.h.
Referenced by Cascades(), DoesPrintChildren(), DoesPrintEmptyAggregates(), DoesPrintValue(), GetOptions(), HideNames(), IsOneLiner(), NonCacheable(), SetCascades(), SetDoesPrintChildren(), SetDoesPrintValue(), SetHideNames(), SetIsOneLiner(), SetNonCacheable(), SetOptions(), SetSkipsPointers(), SetSkipsReferences(), SkipsPointers(), and SkipsReferences().
|
private |
Definition at line 272 of file TypeSummary.h.
Referenced by GetKind().
|
protected |
Definition at line 266 of file TypeSummary.h.
Referenced by GetRevision().