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

#include <TypeFormat.h>

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

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
 

Detailed Description

Definition at line 187 of file TypeFormat.h.

Member Typedef Documentation

◆ SharedPointer

Definition at line 192 of file TypeFormat.h.

Constructor & Destructor Documentation

◆ TypeFormatImpl_EnumType()

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

Definition at line 134 of file TypeFormat.cpp.

◆ ~TypeFormatImpl_EnumType()

TypeFormatImpl_EnumType::~TypeFormatImpl_EnumType ( )
override

Definition at line 138 of file TypeFormat.cpp.

Member Function Documentation

◆ FormatObject()

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

◆ GetDescription()

std::string TypeFormatImpl_EnumType::GetDescription ( )
overridevirtual

◆ GetType()

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

◆ GetTypeName()

ConstString lldb_private::TypeFormatImpl_EnumType::GetTypeName ( )
inline

Definition at line 196 of file TypeFormat.h.

◆ SetTypeName()

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

Definition at line 198 of file TypeFormat.h.

Member Data Documentation

◆ m_enum_type

ConstString lldb_private::TypeFormatImpl_EnumType::m_enum_type
protected

Definition at line 209 of file TypeFormat.h.

Referenced by FormatObject(), and GetDescription().

◆ m_types

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

Definition at line 210 of file TypeFormat.h.

Referenced by FormatObject().


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