LLDB  mainline
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends | List of all members
lldb::SBTypeFormat Class Reference

#include <SBTypeFormat.h>

Collaboration diagram for lldb::SBTypeFormat:
Collaboration graph
[legend]

Public Member Functions

 SBTypeFormat ()
 
 SBTypeFormat (lldb::Format format, uint32_t options=0)
 
 SBTypeFormat (const char *type, uint32_t options=0)
 
 SBTypeFormat (const lldb::SBTypeFormat &rhs)
 
 ~SBTypeFormat ()
 
 operator bool () const
 
bool IsValid () const
 
lldb::Format GetFormat ()
 
const char * GetTypeName ()
 
uint32_t GetOptions ()
 
void SetFormat (lldb::Format)
 
void SetTypeName (const char *)
 
void SetOptions (uint32_t)
 
bool GetDescription (lldb::SBStream &description, lldb::DescriptionLevel description_level)
 
lldb::SBTypeFormatoperator= (const lldb::SBTypeFormat &rhs)
 
bool IsEqualTo (lldb::SBTypeFormat &rhs)
 
bool operator== (lldb::SBTypeFormat &rhs)
 
bool operator!= (lldb::SBTypeFormat &rhs)
 

Protected Types

enum  Type { Type::eTypeKeepSame, Type::eTypeFormat, Type::eTypeEnum }
 

Protected Member Functions

lldb::TypeFormatImplSP GetSP ()
 
void SetSP (const lldb::TypeFormatImplSP &typeformat_impl_sp)
 
 SBTypeFormat (const lldb::TypeFormatImplSP &)
 
bool CopyOnWrite_Impl (Type)
 

Protected Attributes

lldb::TypeFormatImplSP m_opaque_sp
 

Friends

class SBDebugger
 
class SBTypeCategory
 
class SBValue
 

Detailed Description

Definition at line 17 of file SBTypeFormat.h.

Member Enumeration Documentation

◆ Type

enum lldb::SBTypeFormat::Type
strongprotected
Enumerator
eTypeKeepSame 
eTypeFormat 
eTypeEnum 

Definition at line 71 of file SBTypeFormat.h.

Constructor & Destructor Documentation

◆ SBTypeFormat() [1/5]

SBTypeFormat::SBTypeFormat ( )

Definition at line 20 of file SBTypeFormat.cpp.

References LLDB_RECORD_CONSTRUCTOR_NO_ARGS.

◆ SBTypeFormat() [2/5]

SBTypeFormat::SBTypeFormat ( lldb::Format  format,
uint32_t  options = 0 
)

Definition at line 24 of file SBTypeFormat.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ SBTypeFormat() [3/5]

SBTypeFormat::SBTypeFormat ( const char *  type,
uint32_t  options = 0 
)

Definition at line 31 of file SBTypeFormat.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ SBTypeFormat() [4/5]

SBTypeFormat::SBTypeFormat ( const lldb::SBTypeFormat rhs)

Definition at line 38 of file SBTypeFormat.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ ~SBTypeFormat()

SBTypeFormat::~SBTypeFormat ( )

Definition at line 43 of file SBTypeFormat.cpp.

◆ SBTypeFormat() [5/5]

SBTypeFormat::SBTypeFormat ( const lldb::TypeFormatImplSP &  typeformat_impl_sp)
protected

Definition at line 164 of file SBTypeFormat.cpp.

Member Function Documentation

◆ CopyOnWrite_Impl()

bool SBTypeFormat::CopyOnWrite_Impl ( Type  type)
protected

◆ GetDescription()

bool SBTypeFormat::GetDescription ( lldb::SBStream description,
lldb::DescriptionLevel  description_level 
)

◆ GetFormat()

lldb::Format SBTypeFormat::GetFormat ( )

◆ GetOptions()

uint32_t SBTypeFormat::GetOptions ( )

◆ GetSP()

lldb::TypeFormatImplSP SBTypeFormat::GetSP ( )
protected

Definition at line 158 of file SBTypeFormat.cpp.

References m_opaque_sp.

Referenced by lldb::SBTypeCategory::AddTypeFormat().

◆ GetTypeName()

const char * SBTypeFormat::GetTypeName ( )

◆ IsEqualTo()

bool SBTypeFormat::IsEqualTo ( lldb::SBTypeFormat rhs)

◆ IsValid()

bool SBTypeFormat::IsValid ( ) const

◆ operator bool()

SBTypeFormat::operator bool ( ) const
explicit

Definition at line 49 of file SBTypeFormat.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS, and m_opaque_sp.

◆ operator!=()

bool SBTypeFormat::operator!= ( lldb::SBTypeFormat rhs)

Definition at line 149 of file SBTypeFormat.cpp.

References IsValid(), LLDB_RECORD_METHOD, and m_opaque_sp.

◆ operator=()

lldb::SBTypeFormat & SBTypeFormat::operator= ( const lldb::SBTypeFormat rhs)

Definition at line 117 of file SBTypeFormat.cpp.

References LLDB_RECORD_METHOD, LLDB_RECORD_RESULT, and m_opaque_sp.

◆ operator==()

bool SBTypeFormat::operator== ( lldb::SBTypeFormat rhs)

Definition at line 127 of file SBTypeFormat.cpp.

References IsValid(), LLDB_RECORD_METHOD, and m_opaque_sp.

◆ SetFormat()

void SBTypeFormat::SetFormat ( lldb::Format  fmt)

◆ SetOptions()

void SBTypeFormat::SetOptions ( uint32_t  value)

◆ SetSP()

void SBTypeFormat::SetSP ( const lldb::TypeFormatImplSP &  typeformat_impl_sp)
protected

Definition at line 160 of file SBTypeFormat.cpp.

References m_opaque_sp.

Referenced by CopyOnWrite_Impl(), and lldb::SBValue::GetTypeFormat().

◆ SetTypeName()

void SBTypeFormat::SetTypeName ( const char *  type)

Friends And Related Function Documentation

◆ SBDebugger

friend class SBDebugger
friend

Definition at line 59 of file SBTypeFormat.h.

◆ SBTypeCategory

friend class SBTypeCategory
friend

Definition at line 60 of file SBTypeFormat.h.

◆ SBValue

friend class SBValue
friend

Definition at line 61 of file SBTypeFormat.h.

Member Data Documentation

◆ m_opaque_sp

lldb::TypeFormatImplSP lldb::SBTypeFormat::m_opaque_sp
protected

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