Skip to content

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 31 May 2022 at 11:34:55 CEST