Class TomlGatewayConfigParser
Defined in File toml_gateway_config_parser.hpp
Class Documentation
-
class TomlGatewayConfigParser
The TomlGatewayConfigParser class provides methods for parsing gateway configs from toml text files.
Public Static Functions
-
static cxx::expected<GatewayConfig, TomlGatewayConfigParseError> parse(const roudi::ConfigFilePathString_t &path = roudi::ConfigFilePathString_t(DEFAULT_CONFIG_FILE_PATH)) noexcept
Protected Static Functions
-
static cxx::expected<TomlGatewayConfigParseError> validate(const cpptoml::table &parsedToml) noexcept
-
static cxx::expected<GatewayConfig, TomlGatewayConfigParseError> parse(const roudi::ConfigFilePathString_t &path = roudi::ConfigFilePathString_t(DEFAULT_CONFIG_FILE_PATH)) noexcept