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

#include <TypeFormat.h>

Inheritance diagram for lldb_private::TypeFormatImpl:
Inheritance graph
[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 & 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
 

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 138 of file TypeFormat.h.

Constructor & Destructor Documentation

◆ TypeFormatImpl() [1/2]

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

Definition at line 31 of file TypeFormat.cpp.

◆ ~TypeFormatImpl()

TypeFormatImpl::~TypeFormatImpl ( )
virtualdefault

◆ TypeFormatImpl() [2/2]

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

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 lldb_private::TypeFormatImpl::Flags::GetValue(), and m_flags.

◆ GetRevision()

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

Definition at line 136 of file TypeFormat.h.

References m_my_revision.

◆ GetType()

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

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

Definition at line 140 of file TypeFormat.h.

References eTypeUnknown.

◆ NonCacheable()

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

◆ operator=()

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

◆ SetCascades()

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

Definition at line 124 of file TypeFormat.h.

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

◆ SetNonCacheable()

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

◆ SetOptions()

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

Definition at line 134 of file TypeFormat.h.

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

◆ SetSkipsPointers()

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

◆ SetSkipsReferences()

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

◆ SkipsPointers()

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

◆ SkipsReferences()

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

Member Data Documentation

◆ m_flags

Flags lldb_private::TypeFormatImpl::m_flags
protected

◆ m_my_revision

uint32_t lldb_private::TypeFormatImpl::m_my_revision = 0
protected

Definition at line 152 of file TypeFormat.h.

Referenced by GetRevision().


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