LLDB mainline
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
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 (PointerDepth depth={PointerDepth::Mode::Never, 0})
 
DumpValueObjectOptionsSetMaximumDepth (uint32_t depth, bool is_default)
 
DumpValueObjectOptionsSetDeclPrintingHelper (DeclPrintingHelper helper)
 
DumpValueObjectOptionsSetChildPrintingDecider (ChildPrintingDecider decider)
 
DumpValueObjectOptionsSetShowTypes (bool show=false)
 
DumpValueObjectOptionsSetShowLocation (bool show=false)
 
DumpValueObjectOptionsSetUseObjectiveC (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)
 
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
 
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_objc: 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

Definition at line 56 of file DumpValueObjectOptions.h.

◆ DeclPrintingHelper

Definition at line 54 of file DumpValueObjectOptions.h.

Constructor & Destructor Documentation

◆ DumpValueObjectOptions() [1/2]

DumpValueObjectOptions::DumpValueObjectOptions ( )

Definition at line 16 of file DumpValueObjectOptions.cpp.

◆ DumpValueObjectOptions() [2/2]

DumpValueObjectOptions::DumpValueObjectOptions ( ValueObject valobj)

Member Function Documentation

◆ DefaultOptions()

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

Definition at line 58 of file DumpValueObjectOptions.h.

◆ SetAllowOnelinerMode()

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

Definition at line 193 of file DumpValueObjectOptions.cpp.

References m_allow_oneliner_mode.

Referenced by SetRawDisplay().

◆ SetChildPrintingDecider()

DumpValueObjectOptions & DumpValueObjectOptions::SetChildPrintingDecider ( ChildPrintingDecider  decider)

Definition at line 55 of file DumpValueObjectOptions.cpp.

References m_child_printing_decider.

Referenced by dump_type_value().

◆ SetDeclPrintingHelper()

DumpValueObjectOptions & DumpValueObjectOptions::SetDeclPrintingHelper ( DeclPrintingHelper  helper)

Definition at line 49 of file DumpValueObjectOptions.cpp.

References m_decl_printing_helper.

Referenced by CommandObjectFrameDiagnose::DoExecute().

◆ SetElementCount()

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

◆ SetFlatOutput()

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

◆ SetFormat()

DumpValueObjectOptions & DumpValueObjectOptions::SetFormat ( lldb::Format  format = lldb::eFormatDefault)

◆ SetHideName()

DumpValueObjectOptions & DumpValueObjectOptions::SetHideName ( bool  hide_name = false)

◆ SetHidePointerValue()

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

Definition at line 169 of file DumpValueObjectOptions.cpp.

References m_hide_pointer_value.

◆ SetHideRootName()

DumpValueObjectOptions & DumpValueObjectOptions::SetHideRootName ( bool  hide_root_name)

◆ SetHideRootType()

DumpValueObjectOptions & DumpValueObjectOptions::SetHideRootType ( bool  hide_root_type = false)

◆ SetHideValue()

DumpValueObjectOptions & DumpValueObjectOptions::SetHideValue ( bool  hide_value = false)

◆ SetIgnoreCap()

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

◆ SetMaximumDepth()

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

◆ SetMaximumPointerDepth()

DumpValueObjectOptions & DumpValueObjectOptions::SetMaximumPointerDepth ( PointerDepth  depth = {PointerDepth::Mode::Never, 0})

◆ SetOmitSummaryDepth()

DumpValueObjectOptions & DumpValueObjectOptions::SetOmitSummaryDepth ( uint32_t  depth = 0)

◆ SetPointerAsArray()

DumpValueObjectOptions & DumpValueObjectOptions::SetPointerAsArray ( const PointerAsArraySettings ptr_array)

Definition at line 210 of file DumpValueObjectOptions.cpp.

References m_pointer_as_array.

◆ SetRawDisplay()

DumpValueObjectOptions & DumpValueObjectOptions::SetRawDisplay ( )

◆ SetRevealEmptyAggregates()

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

Definition at line 199 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()

DumpValueObjectOptions & DumpValueObjectOptions::SetSummary ( lldb::TypeSummaryImplSP  summary = lldb::TypeSummaryImplSP())

◆ SetUseDynamicType()

DumpValueObjectOptions & DumpValueObjectOptions::SetUseDynamicType ( lldb::DynamicValueType  dyn = lldb::eNoDynamicValues)

◆ SetUseObjectiveC()

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

◆ SetUseSyntheticValue()

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

◆ SetUseTypeDisplayName()

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

Definition at line 187 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 175 of file DumpValueObjectOptions.cpp.

References m_varformat_language.

Referenced by CommandObjectFrameVariable::DoExecute().

Member Data Documentation

◆ m_allow_oneliner_mode

bool lldb_private::DumpValueObjectOptions::m_allow_oneliner_mode

Definition at line 158 of file DumpValueObjectOptions.h.

Referenced by SetAllowOnelinerMode().

◆ m_child_printing_decider

ChildPrintingDecider lldb_private::DumpValueObjectOptions::m_child_printing_decider

Definition at line 143 of file DumpValueObjectOptions.h.

Referenced by SetChildPrintingDecider().

◆ m_decl_printing_helper

DeclPrintingHelper lldb_private::DumpValueObjectOptions::m_decl_printing_helper

◆ m_flat_output

bool lldb_private::DumpValueObjectOptions::m_flat_output

◆ m_format

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

◆ m_hide_name

bool lldb_private::DumpValueObjectOptions::m_hide_name

Definition at line 154 of file DumpValueObjectOptions.h.

Referenced by SetHideName().

◆ m_hide_pointer_value

bool lldb_private::DumpValueObjectOptions::m_hide_pointer_value

◆ m_hide_root_name

bool lldb_private::DumpValueObjectOptions::m_hide_root_name

Definition at line 153 of file DumpValueObjectOptions.h.

Referenced by SetHideRootName().

◆ m_hide_root_type

bool lldb_private::DumpValueObjectOptions::m_hide_root_type

◆ m_hide_value

bool lldb_private::DumpValueObjectOptions::m_hide_value

◆ m_ignore_cap

bool lldb_private::DumpValueObjectOptions::m_ignore_cap

Definition at line 148 of file DumpValueObjectOptions.h.

Referenced by SetIgnoreCap().

◆ m_max_depth

uint32_t lldb_private::DumpValueObjectOptions::m_max_depth = UINT32_MAX

Definition at line 133 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 134 of file DumpValueObjectOptions.h.

Referenced by SetMaximumDepth().

◆ m_max_ptr_depth

PointerDepth lldb_private::DumpValueObjectOptions::m_max_ptr_depth

◆ 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 160 of file DumpValueObjectOptions.h.

Referenced by SetRevealEmptyAggregates().

◆ m_root_valobj_name

std::string lldb_private::DumpValueObjectOptions::m_root_valobj_name

◆ m_run_validator

bool lldb_private::DumpValueObjectOptions::m_run_validator

Definition at line 156 of file DumpValueObjectOptions.h.

Referenced by SetRunValidator().

◆ m_scope_already_checked

bool lldb_private::DumpValueObjectOptions::m_scope_already_checked

◆ m_show_location

bool lldb_private::DumpValueObjectOptions::m_show_location

◆ m_show_types

bool lldb_private::DumpValueObjectOptions::m_show_types

◆ m_summary_sp

lldb::TypeSummaryImplSP lldb_private::DumpValueObjectOptions::m_summary_sp

◆ m_use_dynamic

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

◆ m_use_objc

bool lldb_private::DumpValueObjectOptions::m_use_objc

◆ m_use_synthetic

bool lldb_private::DumpValueObjectOptions::m_use_synthetic

◆ m_use_type_display_name

bool lldb_private::DumpValueObjectOptions::m_use_type_display_name

◆ m_varformat_language

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

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