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

#include <TypeSummary.h>

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

Classes

class  Flags
 

Public Types

enum class  Kind { eSummaryString , eScript , eCallback , 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_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 TypeSummaryImploperator= (const TypeSummaryImpl &)=delete
 

Private Attributes

Kind m_kind
 

Detailed Description

Definition at line 45 of file TypeSummary.h.

Member Typedef Documentation

◆ SharedPointer

Definition at line 263 of file TypeSummary.h.

Member Enumeration Documentation

◆ Kind

Enumerator
eSummaryString 
eScript 
eCallback 
eInternal 

Definition at line 47 of file TypeSummary.h.

Constructor & Destructor Documentation

◆ ~TypeSummaryImpl()

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

◆ TypeSummaryImpl() [1/2]

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

Definition at line 48 of file TypeSummary.cpp.

◆ TypeSummaryImpl() [2/2]

lldb_private::TypeSummaryImpl::TypeSummaryImpl ( const TypeSummaryImpl )
privatedelete

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 248 of file TypeSummary.h.

References lldb_private::TypeSummaryImpl::Flags::GetValue(), and m_flags.

◆ GetRevision()

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

Definition at line 261 of file TypeSummary.h.

References m_my_revision.

◆ 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

◆ operator=()

const TypeSummaryImpl & lldb_private::TypeSummaryImpl::operator= ( const TypeSummaryImpl )
privatedelete

◆ SetCascades()

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

Definition at line 228 of file TypeSummary.h.

References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetCascades().

◆ SetDoesPrintChildren()

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

◆ SetDoesPrintValue()

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

◆ SetHideNames()

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

◆ SetIsOneLiner()

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

◆ SetNonCacheable()

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

◆ SetOptions()

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

Definition at line 250 of file TypeSummary.h.

References m_flags, and lldb_private::TypeSummaryImpl::Flags::SetValue().

◆ SetSkipsPointers()

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

◆ SetSkipsReferences()

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

◆ 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

◆ m_kind

Kind lldb_private::TypeSummaryImpl::m_kind
private

Definition at line 272 of file TypeSummary.h.

Referenced by GetKind().

◆ m_my_revision

uint32_t lldb_private::TypeSummaryImpl::m_my_revision = 0
protected

Definition at line 266 of file TypeSummary.h.

Referenced by GetRevision().


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