MySQL 8.0.40
Source Code Documentation
CMD_LINE Struct Reference

A small wrapper class to pass getopt arguments as a pair to the Sys_var_* constructors. More...

#include <sys_vars.h>

Public Member Functions

 CMD_LINE (enum get_opt_arg_type getopt_arg_type, int getopt_id=0)
 

Public Attributes

int id
 
enum get_opt_arg_type arg_type
 

Detailed Description

A small wrapper class to pass getopt arguments as a pair to the Sys_var_* constructors.

It improves type safety and helps to catch errors in the argument order.

Constructor & Destructor Documentation

◆ CMD_LINE()

CMD_LINE::CMD_LINE ( enum get_opt_arg_type  getopt_arg_type,
int  getopt_id = 0 
)
inline

Member Data Documentation

◆ arg_type

enum get_opt_arg_type CMD_LINE::arg_type

◆ id

int CMD_LINE::id

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