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

#include <TypeSummary.h>

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

Public Member Functions

 StringSummaryFormat (const TypeSummaryImpl::Flags &flags, const char *f)
 
 ~StringSummaryFormat () override=default
 
const char * GetSummaryString () const
 
void SetSummaryString (const char *f)
 
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

std::string m_format_str
 
FormatEntity::Entry m_format
 
Status m_error
 

Additional Inherited Members

- Public Types inherited from lldb_private::TypeSummaryImpl
enum  Kind { Kind::eSummaryString, Kind::eScript, Kind::eCallback, Kind::eInternal }
 
typedef std::shared_ptr< TypeSummaryImplSharedPointer
 
- 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 280 of file TypeSummary.h.

Constructor & Destructor Documentation

◆ StringSummaryFormat()

StringSummaryFormat::StringSummaryFormat ( const TypeSummaryImpl::Flags flags,
const char *  f 
)

Definition at line 62 of file TypeSummary.cpp.

References SetSummaryString().

◆ ~StringSummaryFormat()

lldb_private::StringSummaryFormat::~StringSummaryFormat ( )
overridedefault

Member Function Documentation

◆ classof()

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

Definition at line 298 of file TypeSummary.h.

References lldb_private::TypeSummaryImpl::GetKind().

◆ FormatObject()

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

◆ GetDescription()

std::string StringSummaryFormat::GetDescription ( )
overridevirtual

◆ GetSummaryString()

const char* lldb_private::StringSummaryFormat::GetSummaryString ( ) const
inline

Definition at line 289 of file TypeSummary.h.

◆ SetSummaryString()

void StringSummaryFormat::SetSummaryString ( const char *  f)

Member Data Documentation

◆ m_error

Status lldb_private::StringSummaryFormat::m_error

Definition at line 283 of file TypeSummary.h.

Referenced by GetDescription(), and SetSummaryString().

◆ m_format

FormatEntity::Entry lldb_private::StringSummaryFormat::m_format

Definition at line 282 of file TypeSummary.h.

Referenced by FormatObject(), and SetSummaryString().

◆ m_format_str

std::string lldb_private::StringSummaryFormat::m_format_str

Definition at line 281 of file TypeSummary.h.

Referenced by GetDescription(), and SetSummaryString().


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