Skip to content

iox::config::TomlGatewayConfigParser🔗

The TomlGatewayConfigParser class provides methods for parsing gateway configs from toml text files.

#include <toml_gateway_config_parser.hpp>

Public Functions🔗

Name
cxx::expected< GatewayConfig, TomlGatewayConfigParseError > parse()
cxx::expected< GatewayConfig, TomlGatewayConfigParseError > parse(const roudi::ConfigFilePathString_t & path)

Protected Functions🔗

Name
cxx::expected< TomlGatewayConfigParseError > validate(const cpptoml::table & parsedToml)

Public Functions Documentation🔗

function parse🔗

static cxx::expected< GatewayConfig, TomlGatewayConfigParseError > parse()

function parse🔗

static cxx::expected< GatewayConfig, TomlGatewayConfigParseError > parse(
    const roudi::ConfigFilePathString_t & path
)

Protected Functions Documentation🔗

function validate🔗

static cxx::expected< TomlGatewayConfigParseError > validate(
    const cpptoml::table & parsedToml
)

Updated on 31 May 2022 at 15:29:16 CEST