MySQL 9.1.0
Source Code Documentation
ConfigFilePathValidator Class Reference

#include <config_files.h>

Classes

struct  ValidateError
 

Public Member Functions

 ConfigFilePathValidator (std::vector< std::string > default_config_files, std::vector< std::string > config_files, std::vector< std::string > extra_config_files)
 
stdx::expected< std::vector< std::string >, ValidateErrorvalidate (bool main_config_file_required=true) const
 

Private Attributes

std::vector< std::string > default_config_files_
 
std::vector< std::string > config_files_
 
std::vector< std::string > extra_config_files_
 

Constructor & Destructor Documentation

◆ ConfigFilePathValidator()

ConfigFilePathValidator::ConfigFilePathValidator ( std::vector< std::string >  default_config_files,
std::vector< std::string >  config_files,
std::vector< std::string >  extra_config_files 
)
inline

Member Function Documentation

◆ validate()

stdx::expected< std::vector< std::string >, ConfigFilePathValidator::ValidateError > ConfigFilePathValidator::validate ( bool  main_config_file_required = true) const

Member Data Documentation

◆ config_files_

std::vector<std::string> ConfigFilePathValidator::config_files_
private

◆ default_config_files_

std::vector<std::string> ConfigFilePathValidator::default_config_files_
private

◆ extra_config_files_

std::vector<std::string> ConfigFilePathValidator::extra_config_files_
private

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