9#ifndef LLDB_DATAFORMATTERS_TYPESUMMARY_H
10#define LLDB_DATAFORMATTERS_TYPESUMMARY_H
79 return (
m_flags & lldb::eTypeOptionCascade) == lldb::eTypeOptionCascade;
84 m_flags |= lldb::eTypeOptionCascade;
91 return (
m_flags & lldb::eTypeOptionSkipPointers) ==
92 lldb::eTypeOptionSkipPointers;
97 m_flags |= lldb::eTypeOptionSkipPointers;
104 return (
m_flags & lldb::eTypeOptionSkipReferences) ==
105 lldb::eTypeOptionSkipReferences;
110 m_flags |= lldb::eTypeOptionSkipReferences;
117 return (
m_flags & lldb::eTypeOptionHideChildren) ==
118 lldb::eTypeOptionHideChildren;
123 m_flags |= lldb::eTypeOptionHideChildren;
130 return (
m_flags & lldb::eTypeOptionHideEmptyAggregates) ==
131 lldb::eTypeOptionHideEmptyAggregates;
136 m_flags |= lldb::eTypeOptionHideEmptyAggregates;
143 return (
m_flags & lldb::eTypeOptionHideValue) ==
144 lldb::eTypeOptionHideValue;
149 m_flags |= lldb::eTypeOptionHideValue;
156 return (
m_flags & lldb::eTypeOptionShowOneLiner) ==
157 lldb::eTypeOptionShowOneLiner;
162 m_flags |= lldb::eTypeOptionShowOneLiner;
169 return (
m_flags & lldb::eTypeOptionHideNames) ==
170 lldb::eTypeOptionHideNames;
175 m_flags |= lldb::eTypeOptionHideNames;
182 return (
m_flags & lldb::eTypeOptionNonCacheable) ==
183 lldb::eTypeOptionNonCacheable;
188 m_flags |= lldb::eTypeOptionNonCacheable;
317 const char *description);
358 const char *function_name,
359 const char *python_script =
nullptr);
A stream class that can stream formatted output to a file.
std::shared_ptr< Object > ObjectSP
Flags & SetNonCacheable(bool value=true)
Flags & operator=(const uint32_t &rhs)
Flags & SetCascades(bool value=true)
Flags & SetHideEmptyAggregates(bool value=true)
bool GetSkipPointers() const
bool GetShowMembersOneLiner() const
Flags & SetSkipPointers(bool value=true)
Flags & SetHideItemNames(bool value=true)
Flags(const Flags &other)
Flags & operator=(const Flags &rhs)
Flags & SetDontShowChildren(bool value=true)
Flags & SetSkipReferences(bool value=true)
Flags & SetShowMembersOneLiner(bool value=true)
bool GetHideEmptyAggregates() const
void SetValue(uint32_t value)
bool GetSkipReferences() const
bool GetNonCacheable() const
Flags & SetDontShowValue(bool value=true)
bool GetHideItemNames() const
bool GetDontShowValue() const
bool GetDontShowChildren() const
void SetIsOneLiner(bool value)
virtual bool HideNames(ValueObject *valobj) const
TypeSummaryImpl(const TypeSummaryImpl &)=delete
virtual ~TypeSummaryImpl()=default
virtual void SetDoesPrintValue(bool value)
void SetSkipsReferences(bool value)
virtual bool FormatObject(ValueObject *valobj, std::string &dest, const TypeSummaryOptions &options)=0
void SetSkipsPointers(bool value)
virtual bool DoesPrintEmptyAggregates() const
virtual std::string GetDescription()=0
void SetOptions(uint32_t value)
void SetCascades(bool value)
bool NonCacheable() const
virtual void SetDoesPrintChildren(bool value)
const TypeSummaryImpl & operator=(const TypeSummaryImpl &)=delete
virtual void SetNonCacheable(bool value)
virtual void SetHideNames(bool value)
virtual bool DoesPrintValue(ValueObject *valobj) const
std::shared_ptr< TypeSummaryImpl > SharedPointer
bool SkipsPointers() const
virtual bool DoesPrintChildren(ValueObject *valobj) const
bool SkipsReferences() const
lldb::TypeSummaryCapping m_capping
lldb::LanguageType GetLanguage() const
~TypeSummaryOptions()=default
TypeSummaryOptions & SetCapping(lldb::TypeSummaryCapping)
lldb::LanguageType m_lang
TypeSummaryOptions & SetLanguage(lldb::LanguageType)
lldb::TypeSummaryCapping GetCapping() const
A class that represents a running process on the host machine.
TypeSummaryCapping
Whether a summary should cap how much data it returns to users or not.
LanguageType
Programming language type.
@ eLanguageTypeUnknown
Unknown or invalid language value.