MySQL 8.0.40
Source Code Documentation
Mysql::Tools::Base::Options::I_option Class Referenceabstract

Common interface for all program option objects. More...

#include <i_option.h>

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

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
 

Detailed Description

Common interface for all program option objects.

Constructor & Destructor Documentation

◆ ~I_option()

I_option::~I_option ( )
virtualdefault

Member Function Documentation

◆ call_callbacks()

virtual void Mysql::Tools::Base::Options::I_option::call_callbacks ( char *  argument)
protectedpure virtual

◆ get_my_option()

virtual my_option Mysql::Tools::Base::Options::I_option::get_my_option ( )
protectedpure virtual

◆ set_option_changed_listener()

virtual void Mysql::Tools::Base::Options::I_option::set_option_changed_listener ( I_option_changed_listener listener)
protectedpure virtual

Friends And Related Function Documentation

◆ Abstract_options_provider

friend class Abstract_options_provider
friend

◆ Mysql::Tools::Base::Abstract_program

Member Data Documentation

◆ last_optid

uint32 I_option::last_optid = 256
staticprotected

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