LLDB mainline
lldb_private::TypeFormatImpl Class Referenceabstract

#include <TypeFormat.h>

Inheritance diagram for lldb_private::TypeFormatImpl:
[legend]

Classes

class  Flags

Public Types

enum class  Type { eTypeUnknown , eTypeFormat , eTypeEnum }
typedef std::shared_ptr< TypeFormatImplSharedPointer

Public Member Functions

 TypeFormatImpl (const Flags &flags=Flags())
virtual ~TypeFormatImpl ()
bool Cascades () const
bool SkipsPointers () const
bool SkipsReferences () const
bool NonCacheable () const
void SetCascades (bool value)
void SetSkipsPointers (bool value)
void SetSkipsReferences (bool value)
void SetNonCacheable (bool value)
uint32_t GetOptions ()
void SetOptions (uint32_t value)
uint32_t GetPtrMatchDepth ()
void SetPtrMatchDepth (uint32_t value)
uint32_t & GetRevision ()
virtual Type GetType ()
virtual bool FormatObject (ValueObject *valobj, std::string &dest) const =0
virtual std::string GetDescription ()=0

Protected Attributes

Flags m_flags
uint32_t m_my_revision = 0
uint32_t m_ptr_match_depth = 1

Private Member Functions

 TypeFormatImpl (const TypeFormatImpl &)=delete
const TypeFormatImploperator= (const TypeFormatImpl &)=delete

Detailed Description

Definition at line 24 of file TypeFormat.h.

Member Typedef Documentation

◆ SharedPointer

Definition at line 112 of file TypeFormat.h.

Member Enumeration Documentation

◆ Type

Enumerator
eTypeUnknown 
eTypeFormat 
eTypeEnum 

Definition at line 142 of file TypeFormat.h.

Constructor & Destructor Documentation

◆ TypeFormatImpl() [1/2]

TypeFormatImpl::TypeFormatImpl ( const Flags & flags = Flags())

◆ ~TypeFormatImpl()

TypeFormatImpl::~TypeFormatImpl ( )
virtualdefault

◆ TypeFormatImpl() [2/2]

lldb_private::TypeFormatImpl::TypeFormatImpl ( const TypeFormatImpl & )
privatedelete

References TypeFormatImpl().

Member Function Documentation

◆ Cascades()

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

◆ FormatObject()

virtual bool lldb_private::TypeFormatImpl::FormatObject ( ValueObject * valobj,
std::string & dest ) const
pure virtual

◆ GetDescription()

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

◆ GetOptions()

uint32_t lldb_private::TypeFormatImpl::GetOptions ( )
inline

Definition at line 132 of file TypeFormat.h.

References m_flags.

◆ GetPtrMatchDepth()

uint32_t lldb_private::TypeFormatImpl::GetPtrMatchDepth ( )
inline

Definition at line 136 of file TypeFormat.h.

References m_ptr_match_depth.

◆ GetRevision()

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

Definition at line 140 of file TypeFormat.h.

References m_my_revision.

◆ GetType()

virtual Type lldb_private::TypeFormatImpl::GetType ( )
inlinevirtual

Reimplemented in lldb_private::TypeFormatImpl_EnumType, and lldb_private::TypeFormatImpl_Format.

Definition at line 144 of file TypeFormat.h.

References eTypeUnknown.

◆ NonCacheable()

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

Definition at line 122 of file TypeFormat.h.

References m_flags.

◆ operator=()

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

References TypeFormatImpl().

◆ SetCascades()

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

Definition at line 124 of file TypeFormat.h.

References m_flags.

◆ SetNonCacheable()

void lldb_private::TypeFormatImpl::SetNonCacheable ( bool value)
inline

Definition at line 130 of file TypeFormat.h.

References m_flags.

◆ SetOptions()

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

Definition at line 134 of file TypeFormat.h.

References m_flags.

◆ SetPtrMatchDepth()

void lldb_private::TypeFormatImpl::SetPtrMatchDepth ( uint32_t value)
inline

Definition at line 138 of file TypeFormat.h.

References m_ptr_match_depth.

◆ SetSkipsPointers()

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

Definition at line 126 of file TypeFormat.h.

References m_flags.

◆ SetSkipsReferences()

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

Definition at line 128 of file TypeFormat.h.

References m_flags.

◆ SkipsPointers()

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

◆ SkipsReferences()

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

Member Data Documentation

◆ m_flags

◆ m_my_revision

uint32_t lldb_private::TypeFormatImpl::m_my_revision = 0
protected

Definition at line 156 of file TypeFormat.h.

Referenced by GetRevision().

◆ m_ptr_match_depth

uint32_t lldb_private::TypeFormatImpl::m_ptr_match_depth = 1
protected

Definition at line 157 of file TypeFormat.h.

Referenced by GetPtrMatchDepth(), and SetPtrMatchDepth().


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