MySQL 8.0.32
Source Code Documentation
Mysql::Tools::Base::Options::I_options_provider Class Referenceabstract

Interface for basic options providers functionality. More...

#include <i_options_provider.h>

Inheritance diagram for Mysql::Tools::Base::Options::I_options_provider:
[legend]

Public Member Functions

virtual std::vector< my_optiongenerate_options ()=0
 Creates list of options provided by this provider. More...
 
virtual void options_parsed ()=0
 Callback to be called when command-line options parsing have finished. More...
 
virtual void set_option_changed_listener (I_option_changed_listener *listener)=0
 Sets optional option changes listener to which all changes in all options contained in this provider should be reported. More...
 
- Public Member Functions inherited from Mysql::Tools::Base::Options::I_option_changed_listener
virtual ~I_option_changed_listener ()=default
 
virtual void notify_option_name_changed (I_option *source, std::string old_name)=0
 Called after specified option has name changed. More...
 
virtual void notify_option_optid_changed (I_option *source, uint32 old_optid)=0
 Called after specified option has option ID changed. More...
 

Detailed Description

Interface for basic options providers functionality.

Member Function Documentation

◆ generate_options()

virtual std::vector< my_option > Mysql::Tools::Base::Options::I_options_provider::generate_options ( )
pure virtual

Creates list of options provided by this provider.

Returns
list of my_getopt internal option data structures.

Implemented in Mysql::Tools::Base::Options::Abstract_options_provider, and Mysql::Tools::Base::Options::Composite_options_provider.

◆ options_parsed()

virtual void Mysql::Tools::Base::Options::I_options_provider::options_parsed ( )
pure virtual

◆ set_option_changed_listener()

virtual void Mysql::Tools::Base::Options::I_options_provider::set_option_changed_listener ( I_option_changed_listener listener)
pure virtual

Sets optional option changes listener to which all changes in all options contained in this provider should be reported.

This is used when this provider is attached to another.

Implemented in Mysql::Tools::Base::Options::Abstract_options_provider.


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