GDB (xrefs)

Public Member Functions | Public Attributes | List of all members
varobj Struct Reference

`#include "varobj.h"`

## Public Member Functions
| varobj (varobj_root *root_)
| ~varobj ()

## Public Attributes
std::string | name
std::string | path_expr
std::string | obj_name
int | index = -1
struct type * | type = NULL
struct value * | value = NULL
int | num_children = -1
struct varobj * | parent = NULL
std::vector< varobj * > | children
struct varobj_root * | root
enum varobj_display_formats | format = FORMAT_NATURAL
bool | updated = false
std::string | print_value
bool | frozen = false
bool | not_fetched = false
int | from = -1
int | to = -1
struct varobj_dynamic * | dynamic

## Detailed Description

Definition at line 94 of file varobj.h.

## Constructor & Destructor Documentation

## ◆ varobj()

varobj::varobj | ( | varobj_root * | root_ | ) |
| explicit

Definition at line 1968 of file varobj.c.

Referenced by create_child_with_value().

## ◆ ~varobj()

varobj::~varobj | ( |  | ) |

Definition at line 1975 of file varobj.c.

References varobj_dynamic::child_iter, varobj_dynamic::constructor, dynamic, is_root_p(), varobj_dynamic::pretty_printer, root, value, value_free(), varobj_clear_saved_item(), and varobj_iter_delete.

## Member Data Documentation

## ◆ children

std::vector<varobj *> varobj::children

Definition at line 134 of file varobj.h.

Referenced by ada_value_has_mutated(), cplus_number_of_children(), delete_variable_1(), install_dynamic_child(), mi_cmd_var_list_children(), update_dynamic_varobj_children(), update_type_if_necessary(), varobj_add_child(), varobj_has_more(), varobj_list_children(), and varobj_update().

## ◆ dynamic

struct varobj_dynamic* varobj::dynamic

Definition at line 166 of file varobj.h.

Referenced by construct_visualizer(), dynamic_varobj_has_child_method(), install_default_visualizer(), install_new_value(), install_new_value_visualizer(), my_value_of_variable(), update_dynamic_varobj_children(), varobj_get_display_hint(), varobj_get_iterator(), varobj_has_more(), varobj_is_dynamic_p(), varobj_list_children(), varobj_update(), varobj_value_get_print_value(), and ~varobj().

## ◆ format

enum varobj_display_formats varobj::format = FORMAT_NATURAL

Definition at line 141 of file varobj.h.

Referenced by c_value_of_variable(), install_new_value(), mi_cmd_var_evaluate_expression(), mi_cmd_var_show_format(), my_value_of_variable(), varobj_get_display_format(), varobj_get_value(), and varobj_set_display_format().

## ◆ from

int varobj::from = -1

Definition at line 162 of file varobj.h.

Referenced by mi_cmd_var_list_children(), mi_cmd_var_set_update_range(), value_of_root(), varobj_get_child_range(), varobj_set_child_range(), and varobj_update().

## ◆ frozen

bool varobj::frozen = false

Definition at line 152 of file varobj.h.

Referenced by install_new_value(), mi_cmd_var_set_frozen(), varobj_get_frozen(), varobj_set_frozen(), and varobj_update().

## ◆ index

int varobj::index = -1

Definition at line 114 of file varobj.h.

Referenced by ada_path_expr_of_child(), c_is_path_expr_parent(), c_path_expr_of_child(), cplus_path_expr_of_child(), create_child_with_value(), delete_variable_1(), install_dynamic_child(), and varobj_update().

## ◆ name

std::string varobj::name

Definition at line 103 of file varobj.h.

Referenced by ada_name_of_child(), ada_path_expr_of_child(), ada_value_has_mutated(), c_describe_child(), c_name_of_variable(), cplus_describe_child(), cplus_number_of_children(), create_child_with_value(), value_of_root(), varobj_invalidate_iter(), and varobj_is_anonymous_child().

## ◆ not_fetched

bool varobj::not_fetched = false

Definition at line 157 of file varobj.h.

Referenced by c_value_of_variable(), and install_new_value().

## ◆ num_children

int varobj::num_children = -1

Definition at line 128 of file varobj.h.

Referenced by ada_value_has_mutated(), c_value_of_variable(), update_dynamic_varobj_children(), update_type_if_necessary(), value_of_root(), varobj_get_num_children(), varobj_list_children(), varobj_set_visualizer(), varobj_update(), and varobj_value_has_mutated().

## ◆ obj_name

std::string varobj::obj_name

Definition at line 111 of file varobj.h.

Referenced by create_child_with_value(), delete_variable_1(), install_variable(), uninstall_variable(), value_of_root(), varobj_get_handle(), varobj_get_objname(), and varobj_invalidate_iter().

## ◆ parent

struct varobj* varobj::parent = NULL

Definition at line 131 of file varobj.h.

Referenced by ada_path_expr_of_child(), c_is_path_expr_parent(), c_path_expr_of_child(), cplus_describe_child(), cplus_number_of_children(), cplus_path_expr_of_child(), create_child_with_value(), delete_variable_1(), install_new_value(), varobj_get_path_expr_parent(), and varobj_update().

## ◆ path_expr

std::string varobj::path_expr

Definition at line 107 of file varobj.h.

Referenced by mi_cmd_var_info_path_expression(), and varobj_get_path_expr().

## ◆ print_value

std::string varobj::print_value

Definition at line 147 of file varobj.h.

Referenced by c_value_of_variable(), install_new_value(), and varobj_set_display_format().

## ◆ root

struct varobj_root* varobj::root

Definition at line 138 of file varobj.h.

Referenced by check_scope(), create_child_with_value(), install_variable(), is_path_expr_parent(), is_root_p(), my_value_of_variable(), name_of_child(), name_of_variable(), number_of_children(), uninstall_variable(), value_of_root(), value_of_root_1(), varobj_editable_p(), varobj_floating_p(), varobj_get_language(), varobj_get_path_expr(), varobj_get_thread_id(), varobj_get_type(), varobj_invalidate_iter(), varobj_update(), varobj_value_has_mutated(), varobj_value_is_changeable_p(), and ~varobj().

## ◆ to

int varobj::to = -1

Definition at line 163 of file varobj.h.

Referenced by mi_cmd_var_list_children(), mi_cmd_var_set_update_range(), value_of_root(), varobj_get_child_range(), varobj_set_child_range(), and varobj_update().

## ◆ type

struct type* varobj::type = NULL

Definition at line 119 of file varobj.h.

Referenced by ada_name_of_child(), ada_number_of_children(), ada_path_expr_of_child(), ada_type_of_child(), ada_value_is_changeable_p(), ada_value_of_variable(), cplus_describe_child(), cplus_number_of_children(), create_child_with_value(), get_type(), install_new_value(), update_type_if_necessary(), varobj_get_gdb_type(), varobj_get_type(), varobj_get_value_type(), and varobj_update().

## ◆ updated

bool varobj::updated = false

Definition at line 144 of file varobj.h.

Referenced by install_new_value(), varobj_set_value(), and varobj_update().

## ◆ value

struct value* varobj::value = NULL

Definition at line 125 of file varobj.h.

Referenced by ada_name_of_child(), ada_number_of_children(), ada_path_expr_of_child(), ada_type_of_child(), ada_value_is_changeable_p(), ada_value_of_variable(), c_value_of_variable(), construct_visualizer(), cplus_describe_child(), cplus_number_of_children(), install_default_visualizer(), install_new_value(), install_new_value_visualizer(), my_value_of_variable(), value_of_root(), varobj_clear_saved_item(), varobj_editable_p(), varobj_get_value_type(), varobj_set_display_format(), varobj_set_value(), and ~varobj().

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

- /tmp/gdb-8.1/gdb/varobj.h
- /tmp/gdb-8.1/gdb/varobj.c