GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
gdb::option::boolean_option_def< Context > Struct Template Reference

#include "cli-option.h"

Inheritance diagram for gdb::option::boolean_option_def< Context >:
gdb::option::option_def gdb::option::flag_option_def< Context >

Public Member Functions

 boolean_option_def (const char *long_option_, bool *(*get_var_address_cb_)(Context *), show_value_ftype *show_cmd_cb_, const char *set_doc_, const char *show_doc_=nullptr, const char *help_doc_=nullptr)
 
- Public Member Functions inherited from gdb::option::option_def
const option_defdef () const
 

Additional Inherited Members

- Public Attributes inherited from gdb::option::option_def
const char * name
 
var_types type
 
const literal_defextra_literals
 
erased_get_var_address_ftypeerased_get_var_address
 
union { 
 
   bool *(*   boolean )(const option_def &, void *ctx) 
 
   unsigned int *(*   uinteger )(const option_def &, void *ctx) 
 
   int *(*   integer )(const option_def &, void *ctx) 
 
   const char **(*   enumeration )(const option_def &, void *ctx) 
 
   std::string *(*   string )(const option_def &, void *ctx) 
 
var_address 
 
const char *const * enums = nullptr
 
bool have_argument = true
 
show_value_ftypeshow_cmd_cb
 
const char * set_doc
 
const char * show_doc
 
const char * help_doc
 
- Protected Types inherited from gdb::option::option_def
typedef void * erased_get_var_address_ftype()
 
- Protected Member Functions inherited from gdb::option::option_def
constexpr option_def (const char *name_, var_types var_type_, const literal_def *extra_literals_, erased_get_var_address_ftype *erased_get_var_address_, show_value_ftype *show_cmd_cb_, const char *set_doc_, const char *show_doc_, const char *help_doc_)
 

Detailed Description

template<typename Context>
struct gdb::option::boolean_option_def< Context >

Definition at line 159 of file cli-option.h.

Constructor & Destructor Documentation

◆ boolean_option_def()

template<typename Context >
gdb::option::boolean_option_def< Context >::boolean_option_def ( const char * long_option_,
bool *(*)(Context *) get_var_address_cb_,
show_value_ftype * show_cmd_cb_,
const char * set_doc_,
const char * show_doc_ = nullptr,
const char * help_doc_ = nullptr )
inline

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