LLDB  mainline
Public Types | Public Member Functions | Protected Attributes | Private Member Functions | List of all members
lldb_private::TypeFormatImpl_EnumType Class Reference

#include <TypeFormat.h>

Inheritance diagram for lldb_private::TypeFormatImpl_EnumType:
Inheritance graph
Collaboration diagram for lldb_private::TypeFormatImpl_EnumType:
Collaboration graph

Public Types

typedef std::shared_ptr< TypeFormatImpl_EnumTypeSharedPointer
- Public Types inherited from lldb_private::TypeFormatImpl
enum  Type { Type::eTypeUnknown, Type::eTypeFormat, Type::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_tGetRevision ()

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

Private Member Functions

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

Detailed Description

Definition at line 189 of file TypeFormat.h.

Member Typedef Documentation

◆ SharedPointer

Definition at line 194 of file TypeFormat.h.

Constructor & Destructor Documentation

◆ TypeFormatImpl_EnumType() [1/2]

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

Definition at line 133 of file TypeFormat.cpp.

◆ ~TypeFormatImpl_EnumType()

TypeFormatImpl_EnumType::~TypeFormatImpl_EnumType ( )

◆ TypeFormatImpl_EnumType() [2/2]

lldb_private::TypeFormatImpl_EnumType::TypeFormatImpl_EnumType ( const TypeFormatImpl_EnumType )

Member Function Documentation

◆ FormatObject()

bool TypeFormatImpl_EnumType::FormatObject ( ValueObject valobj,
std::string dest 
) const

◆ GetDescription()

std::string TypeFormatImpl_EnumType::GetDescription ( )

◆ GetType()

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

Reimplemented from lldb_private::TypeFormatImpl.

Definition at line 202 of file TypeFormat.h.

References lldb_private::TypeFormatImpl::eTypeEnum.

◆ GetTypeName()

ConstString lldb_private::TypeFormatImpl_EnumType::GetTypeName ( )

Definition at line 198 of file TypeFormat.h.

References m_enum_type.

◆ operator=()

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

◆ SetTypeName()

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

Definition at line 200 of file TypeFormat.h.

References m_enum_type.

Member Data Documentation

◆ m_enum_type

ConstString lldb_private::TypeFormatImpl_EnumType::m_enum_type

Definition at line 211 of file TypeFormat.h.

Referenced by FormatObject(), GetDescription(), GetTypeName(), and SetTypeName().

◆ m_types

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

Definition at line 212 of file TypeFormat.h.

Referenced by FormatObject().

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