LLDB  mainline
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
lldb_private::CXXFunctionSummaryFormat Struct Reference

#include <TypeSummary.h>

Inheritance diagram for lldb_private::CXXFunctionSummaryFormat:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::CXXFunctionSummaryFormat:
Collaboration graph
[legend]

Public Types

typedef std::function< bool(ValueObject &, Stream &, const TypeSummaryOptions &)> Callback
 
typedef std::shared_ptr< CXXFunctionSummaryFormatSharedPointer
 
- Public Types inherited from lldb_private::TypeSummaryImpl
enum  Kind { Kind::eSummaryString, Kind::eScript, Kind::eCallback, Kind::eInternal }
 
typedef std::shared_ptr< TypeSummaryImplSharedPointer
 

Public Member Functions

 CXXFunctionSummaryFormat (const TypeSummaryImpl::Flags &flags, Callback impl, const char *description)
 
 ~CXXFunctionSummaryFormat () override=default
 
Callback GetBackendFunction () const
 
const char * GetTextualInfo () const
 
void SetBackendFunction (Callback cb_func)
 
void SetTextualInfo (const char *descr)
 
bool FormatObject (ValueObject *valobj, std::string &dest, const TypeSummaryOptions &options) override
 
std::string GetDescription () override
 
- Public Member Functions inherited from lldb_private::TypeSummaryImpl
virtual ~TypeSummaryImpl ()=default
 
Kind GetKind () const
 
bool Cascades () const
 
bool SkipsPointers () const
 
bool SkipsReferences () const
 
bool NonCacheable () const
 
virtual bool DoesPrintChildren (ValueObject *valobj) const
 
virtual bool DoesPrintEmptyAggregates () const
 
virtual bool DoesPrintValue (ValueObject *valobj) const
 
bool IsOneLiner () const
 
virtual bool HideNames (ValueObject *valobj) const
 
void SetCascades (bool value)
 
void SetSkipsPointers (bool value)
 
void SetSkipsReferences (bool value)
 
virtual void SetDoesPrintChildren (bool value)
 
virtual void SetDoesPrintValue (bool value)
 
void SetIsOneLiner (bool value)
 
virtual void SetHideNames (bool value)
 
virtual void SetNonCacheable (bool value)
 
uint32_t GetOptions ()
 
void SetOptions (uint32_t value)
 
uint32_tGetRevision ()
 

Static Public Member Functions

static bool classof (const TypeSummaryImpl *S)
 

Public Attributes

Callback m_impl
 
std::string m_description
 

Additional Inherited Members

- Protected Member Functions inherited from lldb_private::TypeSummaryImpl
 TypeSummaryImpl (Kind kind, const TypeSummaryImpl::Flags &flags)
 
- Protected Attributes inherited from lldb_private::TypeSummaryImpl
uint32_t m_my_revision
 
Flags m_flags
 

Detailed Description

Definition at line 307 of file TypeSummary.h.

Member Typedef Documentation

◆ Callback

Definition at line 312 of file TypeSummary.h.

◆ SharedPointer

Definition at line 344 of file TypeSummary.h.

Constructor & Destructor Documentation

◆ CXXFunctionSummaryFormat()

CXXFunctionSummaryFormat::CXXFunctionSummaryFormat ( const TypeSummaryImpl::Flags flags,
Callback  impl,
const char *  description 
)

Definition at line 127 of file TypeSummary.cpp.

◆ ~CXXFunctionSummaryFormat()

lldb_private::CXXFunctionSummaryFormat::~CXXFunctionSummaryFormat ( )
overridedefault

Member Function Documentation

◆ classof()

static bool lldb_private::CXXFunctionSummaryFormat::classof ( const TypeSummaryImpl S)
inlinestatic

Definition at line 340 of file TypeSummary.h.

References lldb_private::TypeSummaryImpl::GetKind().

◆ FormatObject()

bool CXXFunctionSummaryFormat::FormatObject ( ValueObject valobj,
std::string &  dest,
const TypeSummaryOptions options 
)
overridevirtual

Implements lldb_private::TypeSummaryImpl.

Definition at line 132 of file TypeSummary.cpp.

References lldb_private::StreamString::GetString(), and m_impl.

◆ GetBackendFunction()

Callback lldb_private::CXXFunctionSummaryFormat::GetBackendFunction ( ) const
inline

Definition at line 322 of file TypeSummary.h.

◆ GetDescription()

std::string CXXFunctionSummaryFormat::GetDescription ( )
overridevirtual

◆ GetTextualInfo()

const char* lldb_private::CXXFunctionSummaryFormat::GetTextualInfo ( ) const
inline

Definition at line 324 of file TypeSummary.h.

◆ SetBackendFunction()

void lldb_private::CXXFunctionSummaryFormat::SetBackendFunction ( Callback  cb_func)
inline

Definition at line 326 of file TypeSummary.h.

◆ SetTextualInfo()

void lldb_private::CXXFunctionSummaryFormat::SetTextualInfo ( const char *  descr)
inline

Definition at line 328 of file TypeSummary.h.

Member Data Documentation

◆ m_description

std::string lldb_private::CXXFunctionSummaryFormat::m_description

Definition at line 315 of file TypeSummary.h.

Referenced by GetDescription().

◆ m_impl

Callback lldb_private::CXXFunctionSummaryFormat::m_impl

Definition at line 314 of file TypeSummary.h.

Referenced by FormatObject().


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