LLDB  mainline
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
lldb_private::TypeSummaryImpl Class Referenceabstract

#include <TypeSummary.h>

Inheritance diagram for lldb_private::TypeSummaryImpl:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::TypeSummaryImpl:
Collaboration graph
[legend]

Classes

class  Flags
 

Public Types

enum  Kind { Kind::eSummaryString, Kind::eScript, Kind::eCallback, Kind::eInternal }
 
typedef std::shared_ptr< TypeSummaryImplSharedPointer
 

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_tGetRevision ()
 

Protected Member Functions

 TypeSummaryImpl (Kind kind, const TypeSummaryImpl::Flags &flags)
 

Protected Attributes

uint32_t m_my_revision
 
Flags m_flags
 

Detailed Description

Definition at line 48 of file TypeSummary.h.

Member Typedef Documentation

◆ SharedPointer

Definition at line 266 of file TypeSummary.h.

Member Enumeration Documentation

◆ Kind

Enumerator
eSummaryString 
eScript 
eCallback 
eInternal 

Definition at line 50 of file TypeSummary.h.

Constructor & Destructor Documentation

◆ ~TypeSummaryImpl()

virtual lldb_private::TypeSummaryImpl::~TypeSummaryImpl ( )
virtualdefault

◆ TypeSummaryImpl()

TypeSummaryImpl::TypeSummaryImpl ( Kind  kind,
const TypeSummaryImpl::Flags flags 
)
protected

Definition at line 59 of file TypeSummary.cpp.

Member Function Documentation

◆ Cascades()

bool lldb_private::TypeSummaryImpl::Cascades ( ) const
inline

◆ DoesPrintChildren()

virtual bool lldb_private::TypeSummaryImpl::DoesPrintChildren ( ValueObject valobj) const
inlinevirtual

◆ DoesPrintEmptyAggregates()

virtual bool lldb_private::TypeSummaryImpl::DoesPrintEmptyAggregates ( ) const
inlinevirtual

◆ DoesPrintValue()

virtual bool lldb_private::TypeSummaryImpl::DoesPrintValue ( ValueObject valobj) const
inlinevirtual

◆ FormatObject()

virtual bool lldb_private::TypeSummaryImpl::FormatObject ( ValueObject valobj,
std::string &  dest,
const TypeSummaryOptions options 
)
pure virtual

◆ GetDescription()

virtual std::string lldb_private::TypeSummaryImpl::GetDescription ( )
pure virtual

◆ GetKind()

Kind lldb_private::TypeSummaryImpl::GetKind ( ) const
inline

◆ GetOptions()

uint32_t lldb_private::TypeSummaryImpl::GetOptions ( )
inline

Definition at line 251 of file TypeSummary.h.

◆ GetRevision()

uint32_t& lldb_private::TypeSummaryImpl::GetRevision ( )
inline

Definition at line 264 of file TypeSummary.h.

◆ HideNames()

virtual bool lldb_private::TypeSummaryImpl::HideNames ( ValueObject valobj) const
inlinevirtual

◆ IsOneLiner()

bool lldb_private::TypeSummaryImpl::IsOneLiner ( ) const
inline

◆ NonCacheable()

bool lldb_private::TypeSummaryImpl::NonCacheable ( ) const
inline

Definition at line 211 of file TypeSummary.h.

◆ SetCascades()

void lldb_private::TypeSummaryImpl::SetCascades ( bool  value)
inline

Definition at line 231 of file TypeSummary.h.

◆ SetDoesPrintChildren()

virtual void lldb_private::TypeSummaryImpl::SetDoesPrintChildren ( bool  value)
inlinevirtual

Definition at line 237 of file TypeSummary.h.

◆ SetDoesPrintValue()

virtual void lldb_private::TypeSummaryImpl::SetDoesPrintValue ( bool  value)
inlinevirtual

Definition at line 241 of file TypeSummary.h.

◆ SetHideNames()

virtual void lldb_private::TypeSummaryImpl::SetHideNames ( bool  value)
inlinevirtual

Definition at line 247 of file TypeSummary.h.

◆ SetIsOneLiner()

void lldb_private::TypeSummaryImpl::SetIsOneLiner ( bool  value)
inline

Definition at line 245 of file TypeSummary.h.

◆ SetNonCacheable()

virtual void lldb_private::TypeSummaryImpl::SetNonCacheable ( bool  value)
inlinevirtual

Definition at line 249 of file TypeSummary.h.

◆ SetOptions()

void lldb_private::TypeSummaryImpl::SetOptions ( uint32_t  value)
inline

Definition at line 253 of file TypeSummary.h.

◆ SetSkipsPointers()

void lldb_private::TypeSummaryImpl::SetSkipsPointers ( bool  value)
inline

Definition at line 233 of file TypeSummary.h.

◆ SetSkipsReferences()

void lldb_private::TypeSummaryImpl::SetSkipsReferences ( bool  value)
inline

Definition at line 235 of file TypeSummary.h.

◆ SkipsPointers()

bool lldb_private::TypeSummaryImpl::SkipsPointers ( ) const
inline

◆ SkipsReferences()

bool lldb_private::TypeSummaryImpl::SkipsReferences ( ) const
inline

Member Data Documentation

◆ m_flags

Flags lldb_private::TypeSummaryImpl::m_flags
protected

Definition at line 270 of file TypeSummary.h.

◆ m_my_revision

uint32_t lldb_private::TypeSummaryImpl::m_my_revision
protected

Definition at line 269 of file TypeSummary.h.


The documentation for this class was generated from the following files: