|
LLDB mainline
|
#include <TypeSummary.h>
Classes | |
| class | Flags |
Public Types | |
| enum class | Kind { eSummaryString , eScript , eBytecode , eCallback , eInternal , eScriptedClass } |
| 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) |
| uint32_t | GetPtrMatchDepth () |
| void | SetPtrMatchDepth (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, uint32_t ptr_match_depth=1) | |
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 |
| uint32_t | m_ptr_match_depth = 1 |
Definition at line 49 of file TypeSummary.h.
| typedef std::shared_ptr<TypeSummaryImpl> lldb_private::TypeSummaryImpl::SharedPointer |
Definition at line 286 of file TypeSummary.h.
|
strong |
| Enumerator | |
|---|---|
| eSummaryString | |
| eScript | |
| eBytecode | |
| eCallback | |
| eInternal | |
| eScriptedClass | |
Definition at line 51 of file TypeSummary.h.
|
virtualdefault |
|
protected |
Definition at line 49 of file TypeSummary.cpp.
References m_flags, m_kind, and m_ptr_match_depth.
Referenced by lldb_private::BytecodeSummaryFormat::BytecodeSummaryFormat(), lldb_private::BytecodeSummaryFormat::classof(), lldb_private::CXXFunctionSummaryFormat::classof(), lldb_private::ScriptedSummaryFormat::classof(), lldb_private::ScriptSummaryFormat::classof(), lldb_private::StringSummaryFormat::classof(), lldb_private::CXXFunctionSummaryFormat::CXXFunctionSummaryFormat(), operator=(), lldb_private::ScriptedSummaryFormat::ScriptedSummaryFormat(), lldb_private::ScriptSummaryFormat::ScriptSummaryFormat(), lldb_private::StringSummaryFormat::StringSummaryFormat(), and TypeSummaryImpl().
|
privatedelete |
References TypeSummaryImpl().
|
inline |
Definition at line 213 of file TypeSummary.h.
References m_flags.
Referenced by lldb_private::BytecodeSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptedSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::StringSummaryFormat::GetDescription().
|
inlinevirtual |
Definition at line 221 of file TypeSummary.h.
References m_flags.
Referenced by lldb_private::BytecodeSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptedSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::StringSummaryFormat::GetDescription().
|
inlinevirtual |
Definition at line 225 of file TypeSummary.h.
References m_flags.
Referenced by lldb_private::ValueObjectPrinter::ShouldExpandEmptyAggregates().
|
inlinevirtual |
Definition at line 229 of file TypeSummary.h.
References m_flags.
Referenced by lldb_private::BytecodeSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptedSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), lldb_private::StringSummaryFormat::GetDescription(), and lldb_private::ValueObjectPrinter::PrintValueAndSummaryIfNeeded().
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 62 of file TypeSummary.h.
References m_kind.
|
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::BytecodeSummaryFormat, lldb_private::CXXFunctionSummaryFormat, lldb_private::ScriptedSummaryFormat, lldb_private::ScriptSummaryFormat, and lldb_private::StringSummaryFormat.
Referenced by lldb_private::SummaryStatisticsCache::GetSummaryStatisticsForProvider().
|
inline |
Definition at line 259 of file TypeSummary.h.
References m_flags.
|
inline |
Definition at line 263 of file TypeSummary.h.
References m_ptr_match_depth.
Referenced by lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptedSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::StringSummaryFormat::GetDescription().
|
inline |
Definition at line 284 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 53 of file TypeSummary.cpp.
References eBytecode, eCallback, eInternal, eScript, eScriptedClass, eSummaryString, and m_kind.
Referenced by lldb_private::SummaryStatisticsCache::GetSummaryStatisticsForProvider().
|
inlinevirtual |
Definition at line 235 of file TypeSummary.h.
References m_flags.
Referenced by lldb_private::StringSummaryFormat::FormatObject(), lldb_private::BytecodeSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptedSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::StringSummaryFormat::GetDescription().
|
inline |
Definition at line 233 of file TypeSummary.h.
References m_flags.
Referenced by lldb_private::StringSummaryFormat::FormatObject(), lldb_private::BytecodeSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptedSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::StringSummaryFormat::GetDescription().
|
inline |
Definition at line 219 of file TypeSummary.h.
References m_flags.
|
privatedelete |
References TypeSummaryImpl().
|
inline |
Definition at line 239 of file TypeSummary.h.
References m_flags.
|
inlinevirtual |
Definition at line 245 of file TypeSummary.h.
References m_flags.
|
inlinevirtual |
Definition at line 249 of file TypeSummary.h.
References m_flags.
|
inlinevirtual |
Definition at line 255 of file TypeSummary.h.
References m_flags.
|
inline |
Definition at line 253 of file TypeSummary.h.
References m_flags.
|
inlinevirtual |
Definition at line 257 of file TypeSummary.h.
References m_flags.
|
inline |
Definition at line 261 of file TypeSummary.h.
References m_flags.
|
inline |
Definition at line 265 of file TypeSummary.h.
References m_ptr_match_depth.
|
inline |
Definition at line 241 of file TypeSummary.h.
References m_flags.
|
inline |
Definition at line 243 of file TypeSummary.h.
References m_flags.
|
inline |
Definition at line 215 of file TypeSummary.h.
References m_flags.
Referenced by lldb_private::BytecodeSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptedSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::StringSummaryFormat::GetDescription().
|
inline |
Definition at line 217 of file TypeSummary.h.
References m_flags.
Referenced by lldb_private::BytecodeSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptedSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::StringSummaryFormat::GetDescription().
|
protected |
Definition at line 290 of file TypeSummary.h.
Referenced by Cascades(), DoesPrintChildren(), DoesPrintEmptyAggregates(), DoesPrintValue(), GetOptions(), HideNames(), IsOneLiner(), NonCacheable(), SetCascades(), SetDoesPrintChildren(), SetDoesPrintValue(), SetHideNames(), SetIsOneLiner(), SetNonCacheable(), SetOptions(), SetSkipsPointers(), SetSkipsReferences(), SkipsPointers(), SkipsReferences(), and TypeSummaryImpl().
|
private |
Definition at line 296 of file TypeSummary.h.
Referenced by GetKind(), GetSummaryKindName(), and TypeSummaryImpl().
|
protected |
Definition at line 289 of file TypeSummary.h.
Referenced by GetRevision().
|
private |
Definition at line 297 of file TypeSummary.h.
Referenced by GetPtrMatchDepth(), SetPtrMatchDepth(), and TypeSummaryImpl().