9#ifndef LLDB_DATAFORMATTERS_TYPESUMMARY_H 
   10#define LLDB_DATAFORMATTERS_TYPESUMMARY_H 
   83      return (
m_flags & lldb::eTypeOptionCascade) == lldb::eTypeOptionCascade;
 
 
   88        m_flags |= lldb::eTypeOptionCascade;
 
 
   95      return (
m_flags & lldb::eTypeOptionSkipPointers) ==
 
   96             lldb::eTypeOptionSkipPointers;
 
 
  101        m_flags |= lldb::eTypeOptionSkipPointers;
 
 
  108      return (
m_flags & lldb::eTypeOptionSkipReferences) ==
 
  109             lldb::eTypeOptionSkipReferences;
 
 
  114        m_flags |= lldb::eTypeOptionSkipReferences;
 
 
  121      return (
m_flags & lldb::eTypeOptionHideChildren) ==
 
  122             lldb::eTypeOptionHideChildren;
 
 
  127        m_flags |= lldb::eTypeOptionHideChildren;
 
 
  134      return (
m_flags & lldb::eTypeOptionHideEmptyAggregates) ==
 
  135             lldb::eTypeOptionHideEmptyAggregates;
 
 
  140        m_flags |= lldb::eTypeOptionHideEmptyAggregates;
 
 
  147      return (
m_flags & lldb::eTypeOptionHideValue) ==
 
  148             lldb::eTypeOptionHideValue;
 
 
  153        m_flags |= lldb::eTypeOptionHideValue;
 
 
  160      return (
m_flags & lldb::eTypeOptionShowOneLiner) ==
 
  161             lldb::eTypeOptionShowOneLiner;
 
 
  166        m_flags |= lldb::eTypeOptionShowOneLiner;
 
 
  173      return (
m_flags & lldb::eTypeOptionHideNames) ==
 
  174             lldb::eTypeOptionHideNames;
 
 
  179        m_flags |= lldb::eTypeOptionHideNames;
 
 
  186      return (
m_flags & lldb::eTypeOptionNonCacheable) ==
 
  187             lldb::eTypeOptionNonCacheable;
 
 
  192        m_flags |= lldb::eTypeOptionNonCacheable;
 
 
 
  215    return !
m_flags.GetDontShowChildren();
 
 
  219    return !
m_flags.GetHideEmptyAggregates();
 
 
  223    return !
m_flags.GetDontShowValue();
 
 
  229    return m_flags.GetHideItemNames();
 
 
  239    m_flags.SetDontShowChildren(!value);
 
 
  243    m_flags.SetDontShowValue(!value);
 
 
  286                  uint32_t ptr_match_depth = 1);
 
 
  302                      uint32_t ptr_match_depth = 1);
 
  315  std::string 
GetName() 
override;
 
 
  338                           const char *description,
 
  339                           uint32_t ptr_match_depth = 1);
 
  365  std::string 
GetName() 
override;
 
 
  383                      const char *function_name,
 
  384                      const char *python_script = 
nullptr,
 
  385                      uint32_t ptr_match_depth = 1);
 
  413  std::string 
GetName() 
override;
 
 
  432                        std::unique_ptr<llvm::MemoryBuffer> bytecode);
 
  436  std::string 
GetName() 
override;
 
 
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 std::string GetName()=0
Get the name of the Type Summary Provider, either a C++ class, a summary string, or a script function...
virtual std::string GetSummaryKindName()
Get the name of the kind of Summary Provider, either c++, summary string, script or python.
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 SetPtrMatchDepth(uint32_t value)
void SetCascades(bool value)
bool NonCacheable() const
uint32_t m_ptr_match_depth
virtual void SetDoesPrintChildren(bool value)
const TypeSummaryImpl & operator=(const TypeSummaryImpl &)=delete
virtual void SetNonCacheable(bool value)
virtual void SetHideNames(bool value)
TypeSummaryImpl(Kind kind, const TypeSummaryImpl::Flags &flags, uint32_t ptr_match_depth=1)
virtual bool DoesPrintValue(ValueObject *valobj) const
std::shared_ptr< TypeSummaryImpl > SharedPointer
bool SkipsPointers() const
virtual bool DoesPrintChildren(ValueObject *valobj) const
uint32_t GetPtrMatchDepth()
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.