builder for MySQL Router config files.  
 More...
#include <config_builder.h>
 | 
| using  | kv_type = std::pair< std::string, std::string > | 
|   | 
 | 
| static std::string  | build_section (const std::string §ion, const std::initializer_list< kv_type > &pairs) | 
|   | build a config file section from key-value pairs.  More...
  | 
|   | 
| static std::string  | build_section (const std::string §ion, const std::vector< kv_type > &pairs) | 
|   | 
| static std::string  | build_section (const std::string §ion, const std::map< std::string, std::string > &pairs) | 
|   | 
| static std::string  | build_pair (const kv_type &pair) | 
|   | build a string from a key-value pair.  More...
  | 
|   | 
 | 
| template<class SectionType >  | 
| static std::string  | build_section_ (const std::string §ion, const SectionType &pairs) | 
|   | 
builder for MySQL Router config files. 
generates a config-file strings from definition 
 
◆ kv_type
◆ build_pair()
  
  
      
        
          | static std::string mysql_harness::ConfigBuilder::build_pair  | 
          ( | 
          const kv_type &  | 
          pair | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
build a string from a key-value pair. 
 
 
◆ build_section() [1/3]
  
  
      
        
          | static std::string mysql_harness::ConfigBuilder::build_section  | 
          ( | 
          const std::string &  | 
          section,  | 
         
        
           | 
           | 
          const std::initializer_list< kv_type > &  | 
          pairs  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
build a config file section from key-value pairs. 
 
 
◆ build_section() [2/3]
  
  
      
        
          | static std::string mysql_harness::ConfigBuilder::build_section  | 
          ( | 
          const std::string &  | 
          section,  | 
         
        
           | 
           | 
          const std::map< std::string, std::string > &  | 
          pairs  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ build_section() [3/3]
  
  
      
        
          | static std::string mysql_harness::ConfigBuilder::build_section  | 
          ( | 
          const std::string &  | 
          section,  | 
         
        
           | 
           | 
          const std::vector< kv_type > &  | 
          pairs  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ build_section_()
template<class SectionType > 
  
  
      
        
          | static std::string mysql_harness::ConfigBuilder::build_section_  | 
          ( | 
          const std::string &  | 
          section,  | 
         
        
           | 
           | 
          const SectionType &  | 
          pairs  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestaticprivate   | 
  
 
 
The documentation for this class was generated from the following file: