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

#include <TypeFormat.h>

Inheritance diagram for lldb_private::TypeFormatImpl_Format:
Inheritance graph

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 & 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_Formatoperator= (const TypeFormatImpl_Format &)=delete

Detailed Description

Definition at line 159 of file TypeFormat.h.

Member Typedef Documentation

◆ SharedPointer

Definition at line 164 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.

◆ ~TypeFormatImpl_Format()

TypeFormatImpl_Format::~TypeFormatImpl_Format ( )

◆ TypeFormatImpl_Format() [2/2]

lldb_private::TypeFormatImpl_Format::TypeFormatImpl_Format ( const TypeFormatImpl_Format )

Member Function Documentation

◆ FormatObject()

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

◆ GetDescription()

std::string TypeFormatImpl_Format::GetDescription ( )

◆ GetFormat()

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

Definition at line 168 of file TypeFormat.h.

References m_format.

Referenced by FormatObject(), and GetDescription().

◆ GetType()

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

Reimplemented from lldb_private::TypeFormatImpl.

Definition at line 172 of file TypeFormat.h.

References lldb_private::TypeFormatImpl::eTypeFormat.

◆ operator=()

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

◆ SetFormat()

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

Definition at line 170 of file TypeFormat.h.

References m_format.

Member Data Documentation

◆ m_format

lldb::Format lldb_private::TypeFormatImpl_Format::m_format

Definition at line 181 of file TypeFormat.h.

Referenced by GetFormat(), and SetFormat().

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