MySQL 8.0.39
Source Code Documentation
|
Common interface for all program option objects. More...
#include <i_option.h>
Public Member Functions | |
virtual | ~I_option () |
Protected Member Functions | |
virtual void | call_callbacks (char *argument)=0 |
Calls all option value callbacks. More... | |
virtual my_option | get_my_option ()=0 |
Internal method to get my_getopt internal option data structure. More... | |
virtual void | set_option_changed_listener (I_option_changed_listener *listener)=0 |
Method to set listener on optid changed event. More... | |
Static Protected Attributes | |
static uint32 | last_optid = 256 |
Friends | |
class | Abstract_options_provider |
class | Mysql::Tools::Base::Abstract_program |
Common interface for all program option objects.
|
virtualdefault |
|
protectedpure virtual |
Calls all option value callbacks.
To be used only from Abstract_program.
Implemented in Mysql::Tools::Base::Options::Abstract_option< T_type >, Mysql::Tools::Base::Options::Abstract_option< Bool_option >, Mysql::Tools::Base::Options::Abstract_option< Disabled_option >, and Mysql::Tools::Base::Options::Abstract_option< Simple_option >.
|
protectedpure virtual |
Internal method to get my_getopt internal option data structure.
Implemented in Mysql::Tools::Base::Options::Abstract_option< T_type >, Mysql::Tools::Base::Options::Abstract_option< Bool_option >, Mysql::Tools::Base::Options::Abstract_option< Disabled_option >, and Mysql::Tools::Base::Options::Abstract_option< Simple_option >.
|
protectedpure virtual |
Method to set listener on optid changed event.
For use from Abstract_options_provider class only.
Implemented in Mysql::Tools::Base::Options::Abstract_option< T_type >, Mysql::Tools::Base::Options::Abstract_option< Bool_option >, Mysql::Tools::Base::Options::Abstract_option< Disabled_option >, and Mysql::Tools::Base::Options::Abstract_option< Simple_option >.
|
friend |
|
friend |
|
staticprotected |