GDB (xrefs)
|
#include "command.h"
Classes | |
struct | erased_args |
Public Member Functions | |
template<typename T > | |
setting (var_types var_type, T *var, const literal_def *extra_literals=nullptr) | |
setting (var_types var_type, const literal_def *extra_literals, const erased_args &args) | |
template<typename T > | |
setting (var_types var_type, typename setting_func_types< T >::set setter, typename setting_func_types< T >::get getter) | |
var_types | type () const |
const literal_def * | extra_literals () const |
template<typename T > | |
setting_func_types< T >::type | get () const |
template<typename T > | |
bool | set (const T &v) |
Static Public Member Functions | |
template<typename T > | |
static erased_args | erase_args (var_types var_type, T *var, typename setting_func_types< T >::set set_setting_func, typename setting_func_types< T >::get get_setting_func) |
Private Attributes | |
var_types | m_var_type |
void * | m_var = nullptr |
const literal_def * | m_extra_literals = nullptr |
erased_func | m_getter = nullptr |
erased_func | m_setter = nullptr |
|
inline |
Definition at line 227 of file command.h.
Referenced by gdb.command.type_printers._EnableOrDisableCommand::__init__(), and gdb.command.type_printers._EnableOrDisableCommand::set_some().
|
inline |
Definition at line 271 of file command.h.
Referenced by gdb.command.type_printers._EnableOrDisableCommand::__init__(), and gdb.command.type_printers._EnableOrDisableCommand::set_some().
|
inline |
Definition at line 285 of file command.h.
References gdb_static_assert(), m_getter, and m_setter.
Referenced by gdb.command.type_printers._EnableOrDisableCommand::__init__(), and gdb.command.type_printers._EnableOrDisableCommand::set_some().
|
inlinestatic |
Definition at line 247 of file command.h.
Referenced by add_setshow_cmd_full().
|
inline |
Definition at line 307 of file command.h.
References m_extra_literals.
Referenced by pascm_param_value(), and value_from_setting().
|
inline |
Definition at line 315 of file command.h.
References m_getter, m_var, and m_var_type.
Referenced by pascm_param_value(), str_value_from_setting(), and value_from_setting().
Definition at line 341 of file command.h.
References m_setter, m_var, and m_var_type.
Referenced by add_setshow_generic(), and pascm_set_param_value_x().
|
inline |
Definition at line 303 of file command.h.
References m_var_type.
Referenced by pascm_param_value(), pascm_set_param_value_x(), str_value_from_setting(), and value_from_setting().
|
private |
Definition at line 373 of file command.h.
Referenced by extra_literals().
|
private |
|
private |
|
private |
|
private |