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

#include <SBTypeSummary.h>

Public Types

typedef bool(* FormatCallback) (SBValue, SBTypeSummaryOptions, SBStream &)
 

Public Member Functions

 SBTypeSummary ()
 
 SBTypeSummary (const lldb::SBTypeSummary &rhs)
 
 ~SBTypeSummary ()
 
 operator bool () const
 
bool IsValid () const
 
bool IsFunctionCode ()
 
bool IsFunctionName ()
 
bool IsSummaryString ()
 
const char * GetData ()
 
void SetSummaryString (const char *data)
 
void SetFunctionName (const char *data)
 
void SetFunctionCode (const char *data)
 
uint32_t GetOptions ()
 
void SetOptions (uint32_t)
 
bool GetDescription (lldb::SBStream &description, lldb::DescriptionLevel description_level)
 
lldb::SBTypeSummaryoperator= (const lldb::SBTypeSummary &rhs)
 
bool DoesPrintValue (lldb::SBValue value)
 
bool IsEqualTo (lldb::SBTypeSummary &rhs)
 
bool operator== (lldb::SBTypeSummary &rhs)
 
bool operator!= (lldb::SBTypeSummary &rhs)
 

Static Public Member Functions

static SBTypeSummary CreateWithSummaryString (const char *data, uint32_t options=0)
 
static SBTypeSummary CreateWithFunctionName (const char *data, uint32_t options=0)
 
static SBTypeSummary CreateWithScriptCode (const char *data, uint32_t options=0)
 
static SBTypeSummary CreateWithCallback (FormatCallback cb, uint32_t options=0, const char *description=nullptr)
 

Protected Member Functions

lldb::TypeSummaryImplSP GetSP ()
 
void SetSP (const lldb::TypeSummaryImplSP &typefilter_impl_sp)
 
 SBTypeSummary (const lldb::TypeSummaryImplSP &)
 
bool CopyOnWrite_Impl ()
 
bool ChangeSummaryType (bool want_script)
 

Protected Attributes

lldb::TypeSummaryImplSP m_opaque_sp
 

Friends

class SBDebugger
 
class SBTypeCategory
 
class SBValue
 

Detailed Description

Definition at line 65 of file SBTypeSummary.h.

Member Typedef Documentation

◆ FormatCallback

typedef bool(* lldb::SBTypeSummary::FormatCallback) (SBValue, SBTypeSummaryOptions, SBStream &)

Definition at line 70 of file SBTypeSummary.h.

Constructor & Destructor Documentation

◆ SBTypeSummary() [1/3]

SBTypeSummary::SBTypeSummary ( )

◆ SBTypeSummary() [2/3]

SBTypeSummary::SBTypeSummary ( const lldb::SBTypeSummary rhs)

Definition at line 163 of file SBTypeSummary.cpp.

References LLDB_INSTRUMENT_VA.

◆ ~SBTypeSummary()

SBTypeSummary::~SBTypeSummary ( )
default

◆ SBTypeSummary() [3/3]

SBTypeSummary::SBTypeSummary ( const lldb::TypeSummaryImplSP typesummary_impl_sp)
protected

Definition at line 377 of file SBTypeSummary.cpp.

Member Function Documentation

◆ ChangeSummaryType()

bool SBTypeSummary::ChangeSummaryType ( bool  want_script)
protected

◆ CopyOnWrite_Impl()

bool SBTypeSummary::CopyOnWrite_Impl ( )
protected

Definition at line 380 of file SBTypeSummary.cpp.

References GetOptions(), IsValid(), m_opaque_sp, and SetSP().

Referenced by ChangeSummaryType(), GetDescription(), and SetOptions().

◆ CreateWithCallback()

SBTypeSummary SBTypeSummary::CreateWithCallback ( FormatCallback  cb,
uint32_t  options = 0,
const char *  description = nullptr 
)
static

◆ CreateWithFunctionName()

SBTypeSummary SBTypeSummary::CreateWithFunctionName ( const char *  data,
uint32_t  options = 0 
)
static

Definition at line 116 of file SBTypeSummary.cpp.

References LLDB_INSTRUMENT_VA, and SBTypeSummary().

◆ CreateWithScriptCode()

SBTypeSummary SBTypeSummary::CreateWithScriptCode ( const char *  data,
uint32_t  options = 0 
)
static

Definition at line 127 of file SBTypeSummary.cpp.

References LLDB_INSTRUMENT_VA, and SBTypeSummary().

◆ CreateWithSummaryString()

SBTypeSummary SBTypeSummary::CreateWithSummaryString ( const char *  data,
uint32_t  options = 0 
)
static

Definition at line 105 of file SBTypeSummary.cpp.

References LLDB_INSTRUMENT_VA, and SBTypeSummary().

◆ DoesPrintValue()

bool SBTypeSummary::DoesPrintValue ( lldb::SBValue  value)

Definition at line 297 of file SBTypeSummary.cpp.

References lldb::SBValue::GetSP(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ GetData()

const char * SBTypeSummary::GetData ( )

◆ GetDescription()

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

Definition at line 285 of file SBTypeSummary.cpp.

References CopyOnWrite_Impl(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ GetOptions()

uint32_t SBTypeSummary::GetOptions ( )

Definition at line 233 of file SBTypeSummary.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

Referenced by ChangeSummaryType(), CopyOnWrite_Impl(), and IsEqualTo().

◆ GetSP()

lldb::TypeSummaryImplSP SBTypeSummary::GetSP ( )
protected

Definition at line 371 of file SBTypeSummary.cpp.

References m_opaque_sp.

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

◆ IsEqualTo()

bool SBTypeSummary::IsEqualTo ( lldb::SBTypeSummary rhs)

◆ IsFunctionCode()

bool SBTypeSummary::IsFunctionCode ( )

Definition at line 180 of file SBTypeSummary.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

Referenced by lldb::SBTypeCategory::AddTypeSummary(), and IsEqualTo().

◆ IsFunctionName()

bool SBTypeSummary::IsFunctionName ( )

Definition at line 193 of file SBTypeSummary.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

Referenced by IsEqualTo().

◆ IsSummaryString()

bool SBTypeSummary::IsSummaryString ( )

Definition at line 206 of file SBTypeSummary.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

Referenced by IsEqualTo().

◆ IsValid()

bool SBTypeSummary::IsValid ( ) const

◆ operator bool()

SBTypeSummary::operator bool ( ) const
explicit

Definition at line 174 of file SBTypeSummary.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator!=()

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

Definition at line 363 of file SBTypeSummary.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ operator=()

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

Definition at line 306 of file SBTypeSummary.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ operator==()

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

Definition at line 315 of file SBTypeSummary.cpp.

References IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ SetFunctionCode()

void SBTypeSummary::SetFunctionCode ( const char *  data)

Definition at line 273 of file SBTypeSummary.cpp.

References ChangeSummaryType(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ SetFunctionName()

void SBTypeSummary::SetFunctionName ( const char *  data)

◆ SetOptions()

void SBTypeSummary::SetOptions ( uint32_t  value)

Definition at line 241 of file SBTypeSummary.cpp.

References CopyOnWrite_Impl(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ SetSP()

void SBTypeSummary::SetSP ( const lldb::TypeSummaryImplSP typefilter_impl_sp)
protected

◆ SetSummaryString()

void SBTypeSummary::SetSummaryString ( const char *  data)

Definition at line 249 of file SBTypeSummary.cpp.

References ChangeSummaryType(), IsValid(), LLDB_INSTRUMENT_VA, and m_opaque_sp.

Friends And Related Function Documentation

◆ SBDebugger

friend class SBDebugger
friend

Definition at line 130 of file SBTypeSummary.h.

◆ SBTypeCategory

friend class SBTypeCategory
friend

Definition at line 131 of file SBTypeSummary.h.

◆ SBValue

friend class SBValue
friend

Definition at line 132 of file SBTypeSummary.h.

Member Data Documentation

◆ m_opaque_sp

lldb::TypeSummaryImplSP lldb::SBTypeSummary::m_opaque_sp
protected

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