iox::config::TomlGatewayConfigParser🔗
The TomlGatewayConfigParser class provides methods for parsing gateway configs from toml text files.
#include <iceoryx_posh/gateway/toml_gateway_config_parser.hpp>
Public Functions🔗
Name | |
---|---|
cxx::expected< GatewayConfig, TomlGatewayConfigParseError > | parse(const roudi::ConfigFilePathString_t & path =roudi::ConfigFilePathString_t(DEFAULT_CONFIG_FILE_PATH)) |
Protected Functions🔗
Name | |
---|---|
cxx::expected< TomlGatewayConfigParseError > | validate(const cpptoml::table & parsedToml) |
Public Functions Documentation🔗
function parse🔗
static cxx::expected< GatewayConfig, TomlGatewayConfigParseError > parse(
const roudi::ConfigFilePathString_t & path =roudi::ConfigFilePathString_t(DEFAULT_CONFIG_FILE_PATH)
)
Protected Functions Documentation🔗
function validate🔗
static cxx::expected< TomlGatewayConfigParseError > validate(
const cpptoml::table & parsedToml
)
Updated on 2 April 2022 at 16:37:47 CEST