LLDB mainline
lldb_private::TypeFormatImpl_Format Class Reference

#include <TypeFormat.h>

Inheritance diagram for lldb_private::TypeFormatImpl_Format:
[legend]

Public Types

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

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 GetPtrMatchDepth ()
void SetPtrMatchDepth (uint32_t value)
uint32_t & GetRevision ()

Protected Attributes

lldb::Format m_format
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_Format (const TypeFormatImpl_Format &)=delete
const TypeFormatImpl_Formatoperator= (const TypeFormatImpl_Format &)=delete

Detailed Description

Definition at line 164 of file TypeFormat.h.

Member Typedef Documentation

◆ SharedPointer

Definition at line 169 of file TypeFormat.h.

Constructor & Destructor Documentation

◆ TypeFormatImpl_Format() [1/2]

TypeFormatImpl_Format::TypeFormatImpl_Format ( lldb::Format f = lldb::eFormatInvalid,
const TypeFormatImpl::Flags & flags = Flags() )

Definition at line 35 of file TypeFormat.cpp.

References m_format, and lldb_private::TypeFormatImpl::TypeFormatImpl().

Referenced by operator=(), and TypeFormatImpl_Format().

◆ ~TypeFormatImpl_Format()

TypeFormatImpl_Format::~TypeFormatImpl_Format ( )
overridedefault

◆ TypeFormatImpl_Format() [2/2]

lldb_private::TypeFormatImpl_Format::TypeFormatImpl_Format ( const TypeFormatImpl_Format & )
privatedelete

Member Function Documentation

◆ FormatObject()

◆ GetDescription()

◆ GetFormat()

lldb::Format lldb_private::TypeFormatImpl_Format::GetFormat ( ) const
inline

Definition at line 173 of file TypeFormat.h.

References m_format.

Referenced by FormatObject(), and GetDescription().

◆ GetType()

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

Reimplemented from lldb_private::TypeFormatImpl.

Definition at line 177 of file TypeFormat.h.

References lldb_private::TypeFormatImpl::eTypeFormat.

◆ operator=()

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

◆ SetFormat()

void lldb_private::TypeFormatImpl_Format::SetFormat ( lldb::Format fmt)
inline

Definition at line 175 of file TypeFormat.h.

References m_format.

Member Data Documentation

◆ m_format

lldb::Format lldb_private::TypeFormatImpl_Format::m_format
protected

Definition at line 186 of file TypeFormat.h.

Referenced by GetFormat(), SetFormat(), and TypeFormatImpl_Format().


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