MySQL 8.3.0
Source Code Documentation
anonymous_namespace{config_generator.cc}::ConfigSectionPrinter Class Reference

Public Member Functions

 ConfigSectionPrinter (std::ostream &ostream, const std::map< std::string, std::string > &config_cmdln_options, const std::string &section_name)
 
ConfigSectionPrinteradd_line (const std::string &key, const std::string &value, bool force_empty=false)
 
 ~ConfigSectionPrinter ()
 

Static Public Member Functions

static void add_remaining_sections (std::ostream &ostream, const std::map< std::string, std::string > &config_cmdln_options)
 

Private Attributes

std::ostream & ostream_
 
const std::map< std::string, std::string > & config_cmdln_options_
 
const std::string section_name_
 
std::vector< ConfigBuilder::kv_typesection_options_
 
std::set< std::string > used_cmdln_options_
 

Static Private Attributes

static std::set< std::string > used_sections_
 

Constructor & Destructor Documentation

◆ ConfigSectionPrinter()

anonymous_namespace{config_generator.cc}::ConfigSectionPrinter::ConfigSectionPrinter ( std::ostream &  ostream,
const std::map< std::string, std::string > &  config_cmdln_options,
const std::string &  section_name 
)
inline

◆ ~ConfigSectionPrinter()

anonymous_namespace{config_generator.cc}::ConfigSectionPrinter::~ConfigSectionPrinter ( )
inline

Member Function Documentation

◆ add_line()

ConfigSectionPrinter & anonymous_namespace{config_generator.cc}::ConfigSectionPrinter::add_line ( const std::string &  key,
const std::string &  value,
bool  force_empty = false 
)
inline

◆ add_remaining_sections()

static void anonymous_namespace{config_generator.cc}::ConfigSectionPrinter::add_remaining_sections ( std::ostream &  ostream,
const std::map< std::string, std::string > &  config_cmdln_options 
)
inlinestatic

Member Data Documentation

◆ config_cmdln_options_

const std::map<std::string, std::string>& anonymous_namespace{config_generator.cc}::ConfigSectionPrinter::config_cmdln_options_
private

◆ ostream_

std::ostream& anonymous_namespace{config_generator.cc}::ConfigSectionPrinter::ostream_
private

◆ section_name_

const std::string anonymous_namespace{config_generator.cc}::ConfigSectionPrinter::section_name_
private

◆ section_options_

std::vector<ConfigBuilder::kv_type> anonymous_namespace{config_generator.cc}::ConfigSectionPrinter::section_options_
private

◆ used_cmdln_options_

std::set<std::string> anonymous_namespace{config_generator.cc}::ConfigSectionPrinter::used_cmdln_options_
private

◆ used_sections_

std::set< std::string > anonymous_namespace{config_generator.cc}::ConfigSectionPrinter::used_sections_
staticprivate

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