cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
Loading...
Searching...
No Matches
parse_toml_root.h File Reference

Implementation of parse_toml functions. More...

Include dependency graph for parse_toml_root.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  msgpack_rpc
 Namespace of cpp-msgpack-rpc library.
namespace  msgpack_rpc::config
 Namespace of configurations.

Functions

void msgpack_rpc::config::toml::impl::parse_toml (const ::toml::table &root_table, std::unordered_map< std::string, LoggingConfig > &logging_configs, std::unordered_map< std::string, ClientConfig > &client_configs, std::unordered_map< std::string, ServerConfig > &server_configs)
 Parse configurations from TOML.

Detailed Description

Implementation of parse_toml functions.

Definition in file parse_toml_root.h.

Function Documentation

◆ parse_toml()

void msgpack_rpc::config::toml::impl::parse_toml ( const ::toml::table & root_table,
std::unordered_map< std::string, LoggingConfig > & logging_configs,
std::unordered_map< std::string, ClientConfig > & client_configs,
std::unordered_map< std::string, ServerConfig > & server_configs )
inline

Parse configurations from TOML.

Parameters
[in]root_tableRoot table of TOML file.
[in]logging_configsConfigurations of logging.
[in]client_configsConfigurations of clients.
[in]server_configsConfigurations of servers.

Definition at line 44 of file parse_toml_root.h.