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

#include <TypeFormat.h>

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

Classes

class  Flags
 

Public Types

enum  Type { Type::eTypeUnknown, Type::eTypeFormat, Type::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_tGetRevision ()
 
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
 

Detailed Description

Definition at line 25 of file TypeFormat.h.

Member Typedef Documentation

◆ SharedPointer

Definition at line 113 of file TypeFormat.h.

Member Enumeration Documentation

◆ Type

Enumerator
eTypeUnknown 
eTypeFormat 
eTypeEnum 

Definition at line 139 of file TypeFormat.h.

Constructor & Destructor Documentation

◆ TypeFormatImpl()

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

Definition at line 30 of file TypeFormat.cpp.

Referenced by lldb_private::TypeFormatImpl::Flags::SetValue().

◆ ~TypeFormatImpl()

TypeFormatImpl::~TypeFormatImpl ( )
virtual

Definition at line 33 of file TypeFormat.cpp.

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

◆ GetRevision()

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

Definition at line 137 of file TypeFormat.h.

References m_my_revision.

◆ GetType()

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

◆ NonCacheable()

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

Definition at line 123 of file TypeFormat.h.

◆ SetCascades()

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

Definition at line 125 of file TypeFormat.h.

◆ SetNonCacheable()

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

Definition at line 131 of file TypeFormat.h.

◆ SetOptions()

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

Definition at line 135 of file TypeFormat.h.

◆ SetSkipsPointers()

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

Definition at line 127 of file TypeFormat.h.

◆ SetSkipsReferences()

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

Definition at line 129 of file TypeFormat.h.

◆ 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

Definition at line 152 of file TypeFormat.h.

◆ m_my_revision

uint32_t lldb_private::TypeFormatImpl::m_my_revision
protected

Definition at line 153 of file TypeFormat.h.

Referenced by GetRevision().


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