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>

Collaboration diagram for lldb_private::DumpValueObjectOptions:
Collaboration graph
[legend]

Classes

struct  PointerAsArraySettings
 
struct  PointerDepth
 

Public Types

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

Public Member Functions

 DumpValueObjectOptions ()
 
 DumpValueObjectOptions (const DumpValueObjectOptions &rhs)=default
 
 DumpValueObjectOptions (ValueObject &valobj)
 
DumpValueObjectOptionsSetMaximumPointerDepth (PointerDepth depth={PointerDepth::Mode::Never, 0})
 
DumpValueObjectOptionsSetMaximumDepth (uint32_t depth=0)
 
DumpValueObjectOptionsSetDeclPrintingHelper (DeclPrintingHelper helper)
 
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)
 
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
 
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
 
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_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

◆ DeclPrintingHelper

Definition at line 55 of file DumpValueObjectOptions.h.

Constructor & Destructor Documentation

◆ DumpValueObjectOptions() [1/3]

DumpValueObjectOptions::DumpValueObjectOptions ( )

◆ DumpValueObjectOptions() [2/3]

lldb_private::DumpValueObjectOptions::DumpValueObjectOptions ( const DumpValueObjectOptions rhs)
default

◆ DumpValueObjectOptions() [3/3]

DumpValueObjectOptions::DumpValueObjectOptions ( ValueObject valobj)

Member Function Documentation

◆ DefaultOptions()

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

◆ SetAllowOnelinerMode()

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

Definition at line 180 of file DumpValueObjectOptions.cpp.

References m_allow_oneliner_mode.

Referenced by DefaultOptions(), and SetRawDisplay().

◆ SetDeclPrintingHelper()

DumpValueObjectOptions & DumpValueObjectOptions::SetDeclPrintingHelper ( DeclPrintingHelper  helper)

◆ 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 156 of file DumpValueObjectOptions.cpp.

References m_hide_pointer_value.

Referenced by DefaultOptions().

◆ 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 = 0)

◆ 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 197 of file DumpValueObjectOptions.cpp.

References m_pointer_as_array.

Referenced by DefaultOptions().

◆ SetRawDisplay()

DumpValueObjectOptions & DumpValueObjectOptions::SetRawDisplay ( )

◆ SetRevealEmptyAggregates()

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

Definition at line 186 of file DumpValueObjectOptions.cpp.

References m_reveal_empty_aggregates.

Referenced by DefaultOptions().

◆ 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 174 of file DumpValueObjectOptions.cpp.

References m_use_type_display_name.

Referenced by DefaultOptions(), and SetRawDisplay().

◆ SetVariableFormatDisplayLanguage()

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

Definition at line 162 of file DumpValueObjectOptions.cpp.

References m_varformat_language.

Referenced by DefaultOptions().

Member Data Documentation

◆ m_allow_oneliner_mode

bool lldb_private::DumpValueObjectOptions::m_allow_oneliner_mode

Definition at line 153 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetAllowOnelinerMode().

◆ m_decl_printing_helper

DeclPrintingHelper lldb_private::DumpValueObjectOptions::m_decl_printing_helper

Definition at line 139 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetDeclPrintingHelper().

◆ m_flat_output

bool lldb_private::DumpValueObjectOptions::m_flat_output

Definition at line 143 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetFlatOutput().

◆ m_format

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

Definition at line 134 of file DumpValueObjectOptions.h.

Referenced by SetFormat().

◆ m_hide_name

bool lldb_private::DumpValueObjectOptions::m_hide_name

Definition at line 149 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetHideName().

◆ m_hide_pointer_value

bool lldb_private::DumpValueObjectOptions::m_hide_pointer_value

Definition at line 154 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetHidePointerValue().

◆ m_hide_root_type

bool lldb_private::DumpValueObjectOptions::m_hide_root_type

Definition at line 148 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetHideRootType().

◆ m_hide_value

bool lldb_private::DumpValueObjectOptions::m_hide_value

Definition at line 150 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetHideValue().

◆ m_ignore_cap

bool lldb_private::DumpValueObjectOptions::m_ignore_cap

Definition at line 144 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 131 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 155 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 136 of file DumpValueObjectOptions.h.

Referenced by SetRootValueObjectName().

◆ m_run_validator

bool lldb_private::DumpValueObjectOptions::m_run_validator

Definition at line 151 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetRunValidator().

◆ m_scope_already_checked

bool lldb_private::DumpValueObjectOptions::m_scope_already_checked

Definition at line 142 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetScopeChecked().

◆ m_show_location

bool lldb_private::DumpValueObjectOptions::m_show_location

Definition at line 146 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetShowLocation().

◆ m_show_types

bool lldb_private::DumpValueObjectOptions::m_show_types

Definition at line 145 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetShowTypes().

◆ m_summary_sp

lldb::TypeSummaryImplSP lldb_private::DumpValueObjectOptions::m_summary_sp

Definition at line 135 of file DumpValueObjectOptions.h.

Referenced by SetSummary().

◆ m_use_dynamic

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

Definition at line 132 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetUseDynamicType().

◆ m_use_objc

bool lldb_private::DumpValueObjectOptions::m_use_objc

Definition at line 147 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetUseObjectiveC().

◆ m_use_synthetic

bool lldb_private::DumpValueObjectOptions::m_use_synthetic

Definition at line 141 of file DumpValueObjectOptions.h.

Referenced by DumpValueObjectOptions(), and SetUseSyntheticValue().

◆ m_use_type_display_name

bool lldb_private::DumpValueObjectOptions::m_use_type_display_name

Definition at line 152 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: