LLDB mainline
|
#include <TypeSummary.h>
Classes | |
class | Flags |
Public Types | |
enum class | Kind { eSummaryString , eScript , eBytecode , 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 |
virtual std::string | GetName ()=0 |
Get the name of the Type Summary Provider, either a C++ class, a summary string, or a script function name. | |
virtual std::string | GetSummaryKindName () |
Get the name of the kind of Summary Provider, either c++, summary string, script or python. | |
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 49 of file TypeSummary.h.
typedef std::shared_ptr<TypeSummaryImpl> lldb_private::TypeSummaryImpl::SharedPointer |
Definition at line 275 of file TypeSummary.h.
|
strong |
Enumerator | |
---|---|
eSummaryString | |
eScript | |
eBytecode | |
eCallback | |
eInternal |
Definition at line 51 of file TypeSummary.h.
|
virtualdefault |
|
protected |
Definition at line 46 of file TypeSummary.cpp.
|
privatedelete |
|
inline |
Definition at line 206 of file TypeSummary.h.
References lldb_private::TypeSummaryImpl::Flags::GetCascades(), and m_flags.
Referenced by lldb_private::StringSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::BytecodeSummaryFormat::GetDescription().
|
inlinevirtual |
Definition at line 214 of file TypeSummary.h.
References lldb_private::TypeSummaryImpl::Flags::GetDontShowChildren(), and m_flags.
Referenced by lldb_private::StringSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::BytecodeSummaryFormat::GetDescription().
|
inlinevirtual |
Definition at line 218 of file TypeSummary.h.
References lldb_private::TypeSummaryImpl::Flags::GetHideEmptyAggregates(), and m_flags.
Referenced by lldb_private::ValueObjectPrinter::ShouldExpandEmptyAggregates().
|
inlinevirtual |
Definition at line 222 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(), lldb_private::BytecodeSummaryFormat::GetDescription(), and lldb_private::ValueObjectPrinter::PrintValueAndSummaryIfNeeded().
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 55 of file TypeSummary.h.
References m_kind.
Referenced by lldb_private::StringSummaryFormat::classof(), lldb_private::CXXFunctionSummaryFormat::classof(), lldb_private::ScriptSummaryFormat::classof(), and lldb_private::BytecodeSummaryFormat::classof().
|
pure virtual |
Get the name of the Type Summary Provider, either a C++ class, a summary string, or a script function name.
Implemented in lldb_private::StringSummaryFormat, lldb_private::CXXFunctionSummaryFormat, lldb_private::ScriptSummaryFormat, and lldb_private::BytecodeSummaryFormat.
Referenced by lldb_private::SummaryStatisticsCache::GetSummaryStatisticsForProvider().
|
inline |
Definition at line 252 of file TypeSummary.h.
References lldb_private::TypeSummaryImpl::Flags::GetValue(), and m_flags.
|
inline |
Definition at line 273 of file TypeSummary.h.
References m_my_revision.
|
virtual |
Get the name of the kind of Summary Provider, either c++, summary string, script or python.
Definition at line 49 of file TypeSummary.cpp.
References eBytecode, eCallback, eInternal, eScript, eSummaryString, and m_kind.
Referenced by lldb_private::SummaryStatisticsCache::GetSummaryStatisticsForProvider().
|
inlinevirtual |
Definition at line 228 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(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::BytecodeSummaryFormat::GetDescription().
|
inline |
Definition at line 226 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(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::BytecodeSummaryFormat::GetDescription().
|
inline |
Definition at line 212 of file TypeSummary.h.
References lldb_private::TypeSummaryImpl::Flags::GetNonCacheable(), and m_flags.
|
privatedelete |
|
inline |
Definition at line 232 of file TypeSummary.h.
References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetCascades().
|
inlinevirtual |
Definition at line 238 of file TypeSummary.h.
References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetDontShowChildren().
|
inlinevirtual |
Definition at line 242 of file TypeSummary.h.
References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetDontShowValue().
|
inlinevirtual |
Definition at line 248 of file TypeSummary.h.
References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetHideItemNames().
|
inline |
Definition at line 246 of file TypeSummary.h.
References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetShowMembersOneLiner().
|
inlinevirtual |
Definition at line 250 of file TypeSummary.h.
References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetNonCacheable().
|
inline |
Definition at line 254 of file TypeSummary.h.
References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetValue().
|
inline |
Definition at line 234 of file TypeSummary.h.
References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetSkipPointers().
|
inline |
Definition at line 236 of file TypeSummary.h.
References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetSkipReferences().
|
inline |
Definition at line 208 of file TypeSummary.h.
References lldb_private::TypeSummaryImpl::Flags::GetSkipPointers(), and m_flags.
Referenced by lldb_private::StringSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::BytecodeSummaryFormat::GetDescription().
|
inline |
Definition at line 210 of file TypeSummary.h.
References lldb_private::TypeSummaryImpl::Flags::GetSkipReferences(), and m_flags.
Referenced by lldb_private::StringSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::BytecodeSummaryFormat::GetDescription().
|
protected |
Definition at line 279 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 284 of file TypeSummary.h.
Referenced by GetKind(), and GetSummaryKindName().
|
protected |
Definition at line 278 of file TypeSummary.h.
Referenced by GetRevision().