LLDB mainline
lldb_private::TypeFormatImpl_EnumType Class Reference

#include <TypeFormat.h>

Inheritance diagram for lldb_private::TypeFormatImpl_EnumType:
[legend]

Public Types

typedef std::shared_ptr< TypeFormatImpl_EnumTypeSharedPointer
Public Types inherited from lldb_private::TypeFormatImpl
enum class  Type { eTypeUnknown , eTypeFormat , eTypeEnum }
typedef std::shared_ptr< TypeFormatImplSharedPointer

Public Member Functions

 TypeFormatImpl_EnumType (ConstString type_name=ConstString(""), const TypeFormatImpl::Flags &flags=Flags())
 ~TypeFormatImpl_EnumType () override
ConstString GetTypeName ()
void SetTypeName (ConstString enum_type)
TypeFormatImpl::Type GetType () override
bool FormatObject (ValueObject *valobj, std::string &dest) const override
std::string GetDescription () override
Public Member Functions inherited from lldb_private::TypeFormatImpl
 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 ()

Protected Attributes

ConstString m_enum_type
std::unordered_map< void *, CompilerTypem_types
Protected Attributes inherited from lldb_private::TypeFormatImpl
Flags m_flags
uint32_t m_my_revision = 0
uint32_t m_ptr_match_depth = 1

Private Member Functions

 TypeFormatImpl_EnumType (const TypeFormatImpl_EnumType &)=delete
const TypeFormatImpl_EnumTypeoperator= (const TypeFormatImpl_EnumType &)=delete

Detailed Description

Definition at line 194 of file TypeFormat.h.

Member Typedef Documentation

◆ SharedPointer

Constructor & Destructor Documentation

◆ TypeFormatImpl_EnumType() [1/2]

TypeFormatImpl_EnumType::TypeFormatImpl_EnumType ( ConstString type_name = ConstString(""),
const TypeFormatImpl::Flags & flags = Flags() )

◆ ~TypeFormatImpl_EnumType()

TypeFormatImpl_EnumType::~TypeFormatImpl_EnumType ( )
overridedefault

◆ TypeFormatImpl_EnumType() [2/2]

lldb_private::TypeFormatImpl_EnumType::TypeFormatImpl_EnumType ( const TypeFormatImpl_EnumType & )
privatedelete

Member Function Documentation

◆ FormatObject()

◆ GetDescription()

◆ GetType()

TypeFormatImpl::Type lldb_private::TypeFormatImpl_EnumType::GetType ( )
inlineoverridevirtual

Reimplemented from lldb_private::TypeFormatImpl.

Definition at line 207 of file TypeFormat.h.

References lldb_private::TypeFormatImpl::eTypeEnum.

◆ GetTypeName()

ConstString lldb_private::TypeFormatImpl_EnumType::GetTypeName ( )
inline

Definition at line 203 of file TypeFormat.h.

References m_enum_type.

◆ operator=()

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

◆ SetTypeName()

void lldb_private::TypeFormatImpl_EnumType::SetTypeName ( ConstString enum_type)
inline

Definition at line 205 of file TypeFormat.h.

References m_enum_type.

Member Data Documentation

◆ m_enum_type

ConstString lldb_private::TypeFormatImpl_EnumType::m_enum_type
protected

◆ m_types

std::unordered_map<void *, CompilerType> lldb_private::TypeFormatImpl_EnumType::m_types
mutableprotected

Definition at line 217 of file TypeFormat.h.

Referenced by FormatObject(), and TypeFormatImpl_EnumType().


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