LLDB mainline
|
#include <TypeFormat.h>
Public Types | |
typedef std::shared_ptr< TypeFormatImpl_EnumType > | SharedPointer |
Public Types inherited from lldb_private::TypeFormatImpl | |
enum class | Type { eTypeUnknown , eTypeFormat , eTypeEnum } |
typedef std::shared_ptr< TypeFormatImpl > | SharedPointer |
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 & | GetRevision () |
virtual Type | GetType () |
virtual bool | FormatObject (ValueObject *valobj, std::string &dest) const =0 |
virtual std::string | GetDescription ()=0 |
Protected Attributes | |
ConstString | m_enum_type |
std::unordered_map< void *, CompilerType > | m_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_EnumType & | operator= (const TypeFormatImpl_EnumType &)=delete |
Definition at line 189 of file TypeFormat.h.
typedef std::shared_ptr<TypeFormatImpl_EnumType> lldb_private::TypeFormatImpl_EnumType::SharedPointer |
Definition at line 194 of file TypeFormat.h.
TypeFormatImpl_EnumType::TypeFormatImpl_EnumType | ( | ConstString | type_name = ConstString("") , |
const TypeFormatImpl::Flags & | flags = Flags() |
||
) |
Definition at line 135 of file TypeFormat.cpp.
|
overridedefault |
|
privatedelete |
|
overridevirtual |
Implements lldb_private::TypeFormatImpl.
Definition at line 141 of file TypeFormat.cpp.
References lldb_private::ValueObject::CanProvideValue(), lldb_private::CompilerType::DumpTypeValue(), lldb::eFormatEnum, lldb_private::TypeMap::Empty(), error(), lldb_private::ModuleList::FindTypes(), lldb_private::ExecutionContext::GetBestExecutionContextScope(), lldb_private::DataExtractor::GetByteSize(), lldb_private::ValueObject::GetData(), lldb_private::ValueObject::GetExecutionContextRef(), lldb_private::ValueObject::GetProcessSP(), lldb_private::StreamString::GetString(), lldb_private::ConstString::GetStringRef(), lldb_private::ValueObject::GetTargetSP(), lldb_private::TypeResults::GetTypeMap(), lldb_private::CompilerType::IsValid(), m_enum_type, m_types, and lldb_private::TypeMap::Types().
|
overridevirtual |
Implements lldb_private::TypeFormatImpl.
Definition at line 198 of file TypeFormat.cpp.
References lldb_private::ConstString::AsCString(), lldb_private::TypeFormatImpl::Cascades(), lldb_private::StreamString::GetString(), m_enum_type, lldb_private::Stream::Printf(), lldb_private::TypeFormatImpl::SkipsPointers(), and lldb_private::TypeFormatImpl::SkipsReferences().
|
inlineoverridevirtual |
Reimplemented from lldb_private::TypeFormatImpl.
Definition at line 202 of file TypeFormat.h.
References lldb_private::TypeFormatImpl::eTypeEnum.
|
inline |
Definition at line 198 of file TypeFormat.h.
References m_enum_type.
|
privatedelete |
|
inline |
Definition at line 200 of file TypeFormat.h.
References m_enum_type.
|
protected |
Definition at line 211 of file TypeFormat.h.
Referenced by FormatObject(), GetDescription(), GetTypeName(), and SetTypeName().
|
mutableprotected |
Definition at line 212 of file TypeFormat.h.
Referenced by FormatObject().