LLDB mainline
lldb_private::DumpValueObjectOptions Class Reference

#include <DumpValueObjectOptions.h>

Classes

struct  PointerAsArraySettings
struct  PointerDepth

Public Types

typedef std::function< bool(ConstString, ConstString, const DumpValueObjectOptions &, Stream &)> DeclPrintingHelper
typedef std::function< bool(ConstString)> ChildPrintingDecider

Public Member Functions

 DumpValueObjectOptions ()
 DumpValueObjectOptions (ValueObject &valobj)
DumpValueObjectOptionsSetMaximumPointerDepth (uint32_t depth)
DumpValueObjectOptionsSetMaximumDepth (uint32_t depth, bool is_default)
DumpValueObjectOptionsSetDeclPrintingHelper (DeclPrintingHelper helper)
DumpValueObjectOptionsSetChildPrintingDecider (ChildPrintingDecider decider)
DumpValueObjectOptionsSetShowTypes (bool show=false)
DumpValueObjectOptionsSetShowLocation (bool show=false)
DumpValueObjectOptionsDisableObjectDescription ()
DumpValueObjectOptionsSetUseObjectDescription (bool use=false)
DumpValueObjectOptionsSetShowSummary (bool show=true)
DumpValueObjectOptionsSetUseDynamicType (lldb::DynamicValueType dyn=lldb::eNoDynamicValues)
DumpValueObjectOptionsSetUseSyntheticValue (bool use_synthetic=true)
DumpValueObjectOptionsSetScopeChecked (bool check=true)
DumpValueObjectOptionsSetFlatOutput (bool flat=false)
DumpValueObjectOptionsSetOmitSummaryDepth (uint32_t depth=0)
DumpValueObjectOptionsSetIgnoreCap (bool ignore=false)
DumpValueObjectOptionsSetRawDisplay ()
DumpValueObjectOptionsSetFormat (lldb::Format format=lldb::eFormatDefault)
DumpValueObjectOptionsSetSummary (lldb::TypeSummaryImplSP summary=lldb::TypeSummaryImplSP())
DumpValueObjectOptionsSetRootValueObjectName (const char *name=nullptr)
DumpValueObjectOptionsSetHideRootType (bool hide_root_type=false)
DumpValueObjectOptionsSetHideRootName (bool hide_root_name)
DumpValueObjectOptionsSetHideName (bool hide_name=false)
DumpValueObjectOptionsSetHideValue (bool hide_value=false)
DumpValueObjectOptionsSetHidePointerValue (bool hide=false)
DumpValueObjectOptionsSetVariableFormatDisplayLanguage (lldb::LanguageType lang=lldb::eLanguageTypeUnknown)
DumpValueObjectOptionsSetRunValidator (bool run=true)
DumpValueObjectOptionsSetUseTypeDisplayName (bool dis=false)
DumpValueObjectOptionsSetAllowOnelinerMode (bool oneliner=false)
DumpValueObjectOptionsSetRevealEmptyAggregates (bool reveal=true)
DumpValueObjectOptionsSetExpandPointerTypeFlags (unsigned flags)
DumpValueObjectOptionsSetElementCount (uint32_t element_count=0)
DumpValueObjectOptionsSetPointerAsArray (const PointerAsArraySettings &ptr_array)

Static Public Member Functions

static const DumpValueObjectOptions DefaultOptions ()

Public Attributes

uint32_t m_max_depth = UINT32_MAX
bool m_max_depth_is_default = true
lldb::DynamicValueType m_use_dynamic = lldb::eNoDynamicValues
uint32_t m_omit_summary_depth = 0
lldb::Format m_format = lldb::eFormatDefault
lldb::TypeSummaryImplSP m_summary_sp
std::string m_root_valobj_name
lldb::LanguageType m_varformat_language = lldb::eLanguageTypeUnknown
PointerDepth m_max_ptr_depth
DeclPrintingHelper m_decl_printing_helper
ChildPrintingDecider m_child_printing_decider
PointerAsArraySettings m_pointer_as_array
unsigned m_expand_ptr_type_flags = 0
bool m_use_synthetic: 1
bool m_scope_already_checked: 1
bool m_flat_output: 1
bool m_ignore_cap: 1
bool m_show_types: 1
bool m_show_location: 1
bool m_use_object_desc: 1
bool m_hide_root_type: 1
bool m_hide_root_name: 1
bool m_hide_name: 1
bool m_hide_value: 1
bool m_run_validator: 1
bool m_use_type_display_name: 1
bool m_allow_oneliner_mode: 1
bool m_hide_pointer_value: 1
bool m_reveal_empty_aggregates: 1

Detailed Description

Definition at line 22 of file DumpValueObjectOptions.h.

Member Typedef Documentation

◆ ChildPrintingDecider

◆ DeclPrintingHelper

Constructor & Destructor Documentation

◆ DumpValueObjectOptions() [1/2]

◆ DumpValueObjectOptions() [2/2]

Member Function Documentation

◆ DefaultOptions()

const DumpValueObjectOptions lldb_private::DumpValueObjectOptions::DefaultOptions ( )
inlinestatic

Definition at line 57 of file DumpValueObjectOptions.h.

References DumpValueObjectOptions().

◆ DisableObjectDescription()

DumpValueObjectOptions & DumpValueObjectOptions::DisableObjectDescription ( )

◆ SetAllowOnelinerMode()

DumpValueObjectOptions & DumpValueObjectOptions::SetAllowOnelinerMode ( bool oneliner = false)

Definition at line 202 of file DumpValueObjectOptions.cpp.

References m_allow_oneliner_mode.

Referenced by SetRawDisplay().

◆ SetChildPrintingDecider()

DumpValueObjectOptions & DumpValueObjectOptions::SetChildPrintingDecider ( ChildPrintingDecider decider)

Definition at line 53 of file DumpValueObjectOptions.cpp.

References m_child_printing_decider.

Referenced by dump_type_value().

◆ SetDeclPrintingHelper()

DumpValueObjectOptions & DumpValueObjectOptions::SetDeclPrintingHelper ( DeclPrintingHelper helper)

Definition at line 47 of file DumpValueObjectOptions.cpp.

References m_decl_printing_helper.

Referenced by CommandObjectFrameDiagnose::DoExecute().

◆ SetElementCount()

DumpValueObjectOptions & DumpValueObjectOptions::SetElementCount ( uint32_t element_count = 0)

◆ SetExpandPointerTypeFlags()

DumpValueObjectOptions & DumpValueObjectOptions::SetExpandPointerTypeFlags ( unsigned flags)

◆ SetFlatOutput()

DumpValueObjectOptions & DumpValueObjectOptions::SetFlatOutput ( bool flat = false)

◆ SetFormat()

◆ SetHideName()

◆ SetHidePointerValue()

DumpValueObjectOptions & DumpValueObjectOptions::SetHidePointerValue ( bool hide = false)

Definition at line 178 of file DumpValueObjectOptions.cpp.

References DumpValueObjectOptions(), and m_hide_pointer_value.

◆ SetHideRootName()

DumpValueObjectOptions & DumpValueObjectOptions::SetHideRootName ( bool hide_root_name)

◆ SetHideRootType()

◆ SetHideValue()

◆ SetIgnoreCap()

DumpValueObjectOptions & DumpValueObjectOptions::SetIgnoreCap ( bool ignore = false)

◆ SetMaximumDepth()

DumpValueObjectOptions & DumpValueObjectOptions::SetMaximumDepth ( uint32_t depth,
bool is_default )

◆ SetMaximumPointerDepth()

DumpValueObjectOptions & DumpValueObjectOptions::SetMaximumPointerDepth ( uint32_t depth)

◆ SetOmitSummaryDepth()

◆ SetPointerAsArray()

DumpValueObjectOptions & DumpValueObjectOptions::SetPointerAsArray ( const PointerAsArraySettings & ptr_array)

Definition at line 225 of file DumpValueObjectOptions.cpp.

References DumpValueObjectOptions(), and m_pointer_as_array.

◆ SetRawDisplay()

◆ SetRevealEmptyAggregates()

DumpValueObjectOptions & DumpValueObjectOptions::SetRevealEmptyAggregates ( bool reveal = true)

Definition at line 208 of file DumpValueObjectOptions.cpp.

References m_reveal_empty_aggregates.

◆ SetRootValueObjectName()

DumpValueObjectOptions & DumpValueObjectOptions::SetRootValueObjectName ( const char * name = nullptr)

◆ SetRunValidator()

DumpValueObjectOptions & DumpValueObjectOptions::SetRunValidator ( bool run = true)

◆ SetScopeChecked()

DumpValueObjectOptions & DumpValueObjectOptions::SetScopeChecked ( bool check = true)

◆ SetShowLocation()

DumpValueObjectOptions & DumpValueObjectOptions::SetShowLocation ( bool show = false)

◆ SetShowSummary()

DumpValueObjectOptions & DumpValueObjectOptions::SetShowSummary ( bool show = true)

◆ SetShowTypes()

DumpValueObjectOptions & DumpValueObjectOptions::SetShowTypes ( bool show = false)

◆ SetSummary()

◆ SetUseDynamicType()

◆ SetUseObjectDescription()

DumpValueObjectOptions & DumpValueObjectOptions::SetUseObjectDescription ( bool use = false)

◆ SetUseSyntheticValue()

DumpValueObjectOptions & DumpValueObjectOptions::SetUseSyntheticValue ( bool use_synthetic = true)

◆ SetUseTypeDisplayName()

DumpValueObjectOptions & DumpValueObjectOptions::SetUseTypeDisplayName ( bool dis = false)

Definition at line 196 of file DumpValueObjectOptions.cpp.

References m_use_type_display_name.

Referenced by SetRawDisplay().

◆ SetVariableFormatDisplayLanguage()

DumpValueObjectOptions & DumpValueObjectOptions::SetVariableFormatDisplayLanguage ( lldb::LanguageType lang = lldb::eLanguageTypeUnknown)

Definition at line 184 of file DumpValueObjectOptions.cpp.

References m_varformat_language.

Member Data Documentation

◆ m_allow_oneliner_mode

bool lldb_private::DumpValueObjectOptions::m_allow_oneliner_mode

Definition at line 162 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetAllowOnelinerMode().

◆ m_child_printing_decider

ChildPrintingDecider lldb_private::DumpValueObjectOptions::m_child_printing_decider

Definition at line 145 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetChildPrintingDecider().

◆ m_decl_printing_helper

DeclPrintingHelper lldb_private::DumpValueObjectOptions::m_decl_printing_helper

Definition at line 144 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetDeclPrintingHelper().

◆ m_expand_ptr_type_flags

unsigned lldb_private::DumpValueObjectOptions::m_expand_ptr_type_flags = 0

Definition at line 147 of file DumpValueObjectOptions.h.

Referenced by SetExpandPointerTypeFlags().

◆ m_flat_output

bool lldb_private::DumpValueObjectOptions::m_flat_output

Definition at line 151 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetFlatOutput().

◆ m_format

lldb::Format lldb_private::DumpValueObjectOptions::m_format = lldb::eFormatDefault

Definition at line 139 of file DumpValueObjectOptions.h.

Referenced by SetFormat().

◆ m_hide_name

bool lldb_private::DumpValueObjectOptions::m_hide_name

Definition at line 158 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetHideName().

◆ m_hide_pointer_value

bool lldb_private::DumpValueObjectOptions::m_hide_pointer_value

Definition at line 163 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetHidePointerValue().

◆ m_hide_root_name

bool lldb_private::DumpValueObjectOptions::m_hide_root_name

Definition at line 157 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetHideRootName().

◆ m_hide_root_type

bool lldb_private::DumpValueObjectOptions::m_hide_root_type

Definition at line 156 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetHideRootType().

◆ m_hide_value

bool lldb_private::DumpValueObjectOptions::m_hide_value

Definition at line 159 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetHideValue().

◆ m_ignore_cap

bool lldb_private::DumpValueObjectOptions::m_ignore_cap

Definition at line 152 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetIgnoreCap().

◆ m_max_depth

uint32_t lldb_private::DumpValueObjectOptions::m_max_depth = UINT32_MAX

Definition at line 135 of file DumpValueObjectOptions.h.

Referenced by SetMaximumDepth().

◆ m_max_depth_is_default

bool lldb_private::DumpValueObjectOptions::m_max_depth_is_default = true

Definition at line 136 of file DumpValueObjectOptions.h.

Referenced by SetMaximumDepth().

◆ m_max_ptr_depth

PointerDepth lldb_private::DumpValueObjectOptions::m_max_ptr_depth

Definition at line 143 of file DumpValueObjectOptions.h.

Referenced by SetMaximumPointerDepth().

◆ m_omit_summary_depth

uint32_t lldb_private::DumpValueObjectOptions::m_omit_summary_depth = 0

◆ m_pointer_as_array

PointerAsArraySettings lldb_private::DumpValueObjectOptions::m_pointer_as_array

◆ m_reveal_empty_aggregates

bool lldb_private::DumpValueObjectOptions::m_reveal_empty_aggregates

Definition at line 164 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetRevealEmptyAggregates().

◆ m_root_valobj_name

std::string lldb_private::DumpValueObjectOptions::m_root_valobj_name

Definition at line 141 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetRootValueObjectName().

◆ m_run_validator

bool lldb_private::DumpValueObjectOptions::m_run_validator

Definition at line 160 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetRunValidator().

◆ m_scope_already_checked

bool lldb_private::DumpValueObjectOptions::m_scope_already_checked

Definition at line 150 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetScopeChecked().

◆ m_show_location

bool lldb_private::DumpValueObjectOptions::m_show_location

Definition at line 154 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetShowLocation().

◆ m_show_types

bool lldb_private::DumpValueObjectOptions::m_show_types

Definition at line 153 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetShowTypes().

◆ m_summary_sp

lldb::TypeSummaryImplSP lldb_private::DumpValueObjectOptions::m_summary_sp

Definition at line 140 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetSummary().

◆ m_use_dynamic

lldb::DynamicValueType lldb_private::DumpValueObjectOptions::m_use_dynamic = lldb::eNoDynamicValues

Definition at line 137 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetUseDynamicType().

◆ m_use_object_desc

bool lldb_private::DumpValueObjectOptions::m_use_object_desc

Definition at line 155 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetUseObjectDescription().

◆ m_use_synthetic

bool lldb_private::DumpValueObjectOptions::m_use_synthetic

◆ m_use_type_display_name

bool lldb_private::DumpValueObjectOptions::m_use_type_display_name

Definition at line 161 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetUseTypeDisplayName().

◆ m_varformat_language

lldb::LanguageType lldb_private::DumpValueObjectOptions::m_varformat_language = lldb::eLanguageTypeUnknown

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