12 #ifndef CONFIG_PARSER_H
13 #define CONFIG_PARSER_H
101 #endif // #ifndef CONFIG_PARSER_H
static bool isValidOptionChar(char c)
Checks whether the selected character is a valid part of an option name.
Configuration parser.
Definition: config_parser.h:43
static ParsedConfig parse(const std::string &rawConfig)
Parses a configuration from the selected string.
static bool isValidValueChar(char c)
Checks whether the selected character is a valid part of an option value.
BaseException class - declarations.
Base exception class for all project exceptions.
Definition: base_exception.h:23
std::map< std::string, std::string > ParsedConfig
Option -> values mapping.
Definition: config_parser.h:55
ConfigParser & operator=(const ConfigParser &)
This exception is thrown if there is an error during parsing.
Definition: config_parser.h:48
ParsingError(const std::string &errorMessage)
Definition: config_parser.h:50