|
Nemiver
0.3
|
#include <nmv-dbg-common.h>
Public Member Functions | |
| VarChange () | |
| VarChange (IDebugger::VariableSafePtr a_var, int new_num_children, list< IDebugger::VariableSafePtr > &a_changed_children) | |
| const IDebugger::VariableSafePtr | variable () const |
| void | variable (const IDebugger::VariableSafePtr) |
| int | new_num_children () const |
| void | new_num_children (int) |
| const list< IDebugger::VariableSafePtr > & | new_children () const |
| list< IDebugger::VariableSafePtr > & | new_children () |
| void | new_children (const list< IDebugger::VariableSafePtr > &) |
| void | apply_to_variable (IDebugger::VariableSafePtr a_var, std::list< IDebugger::VariableSafePtr > &a_changed_vars) |
| Apply current change to a given variable. More... | |
Abstracts a change that happened to a variable as reported by the -var-update GDB/MI command, for GDB backends. The change can be either a new set of children sub variable appearing, or a change of a variable value.
| nemiver::VarChange::VarChange | ( | ) |
| nemiver::VarChange::VarChange | ( | IDebugger::VariableSafePtr | a_var, |
| int | new_num_children, | ||
| list< IDebugger::VariableSafePtr > & | a_changed_children | ||
| ) |
| void nemiver::VarChange::apply_to_variable | ( | IDebugger::VariableSafePtr | a_var, |
| std::list< IDebugger::VariableSafePtr > & | a_changed_vars | ||
| ) |
Apply current change to a given variable.
| list<IDebugger::VariableSafePtr>& nemiver::VarChange::new_children | ( | ) |
| const list<IDebugger::VariableSafePtr>& nemiver::VarChange::new_children | ( | ) | const |
If new_num_children() returned a positive number then this accessor returns the list of new children variables.
| void nemiver::VarChange::new_children | ( | const list< IDebugger::VariableSafePtr > & | ) |
| int nemiver::VarChange::new_num_children | ( | ) | const |
If the change encompasses new children sub variables, then this accessor returns a positive value. If the change is about removing all the children sub variables then this accessor returns zero. Otherwise, if no children got added or removed the this returns -1.
| void nemiver::VarChange::new_num_children | ( | int | ) |
| const IDebugger::VariableSafePtr nemiver::VarChange::variable | ( | ) | const |
Returns the variable this change is to be applied to. The returned variable contains the new value(s) as a result member value change.
| void nemiver::VarChange::variable | ( | const IDebugger::VariableSafePtr | ) |
1.8.17