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>

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

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 57 of file SBTypeSummary.h.

Member Typedef Documentation

◆ FormatCallback

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

Definition at line 62 of file SBTypeSummary.h.

Constructor & Destructor Documentation

◆ SBTypeSummary() [1/3]

SBTypeSummary::SBTypeSummary ( )

◆ SBTypeSummary() [2/3]

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

Definition at line 191 of file SBTypeSummary.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ ~SBTypeSummary()

SBTypeSummary::~SBTypeSummary ( )

Definition at line 196 of file SBTypeSummary.cpp.

◆ SBTypeSummary() [3/3]

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

Definition at line 416 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 419 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

◆ CreateWithScriptCode()

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

◆ CreateWithSummaryString()

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

◆ DoesPrintValue()

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

◆ GetData()

const char * SBTypeSummary::GetData ( )

◆ GetDescription()

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

◆ GetOptions()

uint32_t SBTypeSummary::GetOptions ( )

◆ GetSP()

lldb::TypeSummaryImplSP SBTypeSummary::GetSP ( )
protected

Definition at line 410 of file SBTypeSummary.cpp.

References m_opaque_sp.

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

◆ IsEqualTo()

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

◆ IsFunctionCode()

bool SBTypeSummary::IsFunctionCode ( )

◆ IsFunctionName()

bool SBTypeSummary::IsFunctionName ( )

◆ IsSummaryString()

bool SBTypeSummary::IsSummaryString ( )

◆ IsValid()

bool SBTypeSummary::IsValid ( ) const

◆ operator bool()

SBTypeSummary::operator bool ( ) const
explicit

Definition at line 202 of file SBTypeSummary.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS, and m_opaque_sp.

◆ operator!=()

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

Definition at line 401 of file SBTypeSummary.cpp.

References IsValid(), LLDB_RECORD_METHOD, and m_opaque_sp.

◆ operator=()

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

Definition at line 340 of file SBTypeSummary.cpp.

References LLDB_RECORD_METHOD, LLDB_RECORD_RESULT, and m_opaque_sp.

◆ operator==()

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

Definition at line 351 of file SBTypeSummary.cpp.

References IsValid(), LLDB_RECORD_METHOD, and m_opaque_sp.

◆ SetFunctionCode()

void SBTypeSummary::SetFunctionCode ( const char *  data)

◆ SetFunctionName()

void SBTypeSummary::SetFunctionName ( const char *  data)

◆ SetOptions()

void SBTypeSummary::SetOptions ( uint32_t  value)

◆ SetSP()

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

◆ SetSummaryString()

void SBTypeSummary::SetSummaryString ( const char *  data)

Friends And Related Function Documentation

◆ SBDebugger

friend class SBDebugger
friend

Definition at line 120 of file SBTypeSummary.h.

◆ SBTypeCategory

friend class SBTypeCategory
friend

Definition at line 121 of file SBTypeSummary.h.

◆ SBValue

friend class SBValue
friend

Definition at line 122 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: