LLDB mainline
|
#include <TypeFormat.h>
Public Types | |
typedef std::shared_ptr< TypeFormatImpl_Format > | SharedPointer |
Public Types inherited from lldb_private::TypeFormatImpl | |
enum class | Type { eTypeUnknown , eTypeFormat , eTypeEnum } |
typedef std::shared_ptr< TypeFormatImpl > | SharedPointer |
Public Member Functions | |
TypeFormatImpl_Format (lldb::Format f=lldb::eFormatInvalid, const TypeFormatImpl::Flags &flags=Flags()) | |
~TypeFormatImpl_Format () override | |
lldb::Format | GetFormat () const |
void | SetFormat (lldb::Format fmt) |
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 | |
lldb::Format | m_format |
Protected Attributes inherited from lldb_private::TypeFormatImpl | |
Flags | m_flags |
uint32_t | m_my_revision = 0 |
Private Member Functions | |
TypeFormatImpl_Format (const TypeFormatImpl_Format &)=delete | |
const TypeFormatImpl_Format & | operator= (const TypeFormatImpl_Format &)=delete |
Definition at line 159 of file TypeFormat.h.
typedef std::shared_ptr<TypeFormatImpl_Format> lldb_private::TypeFormatImpl_Format::SharedPointer |
Definition at line 164 of file TypeFormat.h.
TypeFormatImpl_Format::TypeFormatImpl_Format | ( | lldb::Format | f = lldb::eFormatInvalid , |
const TypeFormatImpl::Flags & | flags = Flags() |
||
) |
Definition at line 35 of file TypeFormat.cpp.
|
overridedefault |
|
privatedelete |
|
overridevirtual |
Implements lldb_private::TypeFormatImpl.
Definition at line 41 of file TypeFormat.cpp.
References lldb_private::RegisterInfo::byte_size, lldb_private::ValueObject::CanProvideValue(), lldb_private::DumpDataExtractor(), lldb_private::CompilerType::DumpTypeValue(), lldb::eFormatCString, error(), lldb_private::ExecutionContext::GetBestExecutionContextScope(), lldb_private::ValueObject::GetBitfieldBitOffset(), lldb_private::ValueObject::GetBitfieldBitSize(), lldb_private::CompilerType::GetByteSize(), lldb_private::Value::GetCompilerType(), lldb_private::Value::GetContextType(), lldb_private::ValueObject::GetData(), lldb_private::ValueObject::GetExecutionContextRef(), GetFormat(), lldb_private::ValueObject::GetPointerValue(), lldb_private::Value::GetRegisterInfo(), lldb_private::StreamString::GetString(), lldb_private::ValueObject::GetTargetSP(), lldb_private::CompilerType::GetTypeInfo(), lldb_private::ValueObject::GetValue(), LLDB_INVALID_ADDRESS, lldb_private::Value::RegisterInfo, lldb_private::DataExtractor::SetData(), lldb_private::Flags::Test(), and UINT32_MAX.
|
overridevirtual |
Implements lldb_private::TypeFormatImpl.
Definition at line 126 of file TypeFormat.cpp.
References lldb_private::TypeFormatImpl::Cascades(), GetFormat(), lldb_private::FormatManager::GetFormatAsCString(), lldb_private::StreamString::GetString(), lldb_private::Stream::Printf(), lldb_private::TypeFormatImpl::SkipsPointers(), and lldb_private::TypeFormatImpl::SkipsReferences().
|
inline |
Definition at line 168 of file TypeFormat.h.
References m_format.
Referenced by FormatObject(), and GetDescription().
|
inlineoverridevirtual |
Reimplemented from lldb_private::TypeFormatImpl.
Definition at line 172 of file TypeFormat.h.
References lldb_private::TypeFormatImpl::eTypeFormat.
|
privatedelete |
|
inline |
Definition at line 170 of file TypeFormat.h.
References m_format.
|
protected |
Definition at line 181 of file TypeFormat.h.
Referenced by GetFormat(), and SetFormat().