|
cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
|
Definition of parse_toml functions for clients and servers. More...
#include <cstddef>#include <exception>#include <string>#include <string_view>#include <unordered_map>#include <utility>#include <toml++/toml.h>#include "msgpack_rpc/config/client_config.h"#include "msgpack_rpc/config/executor_config.h"#include "msgpack_rpc/config/message_parser_config.h"#include "msgpack_rpc/config/reconnection_config.h"#include "msgpack_rpc/config/server_config.h"#include "msgpack_rpc/config/toml/parse_toml_common.h"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 &table, ClientConfig &config) |
| Parse a configuration of clients from TOML. | |
| void | msgpack_rpc::config::toml::impl::parse_toml (const ::toml::table &table, ExecutorConfig &config) |
| Parse a configuration of executors from TOML. | |
| void | msgpack_rpc::config::toml::impl::parse_toml (const ::toml::table &table, MessageParserConfig &config) |
| Parse a configuration of parsers of messages from TOML. | |
| void | msgpack_rpc::config::toml::impl::parse_toml (const ::toml::table &table, ReconnectionConfig &config) |
| Parse a configuration of reconnection in clients from TOML. | |
| void | msgpack_rpc::config::toml::impl::parse_toml (const ::toml::table &table, ServerConfig &config) |
| Parse a configuration of servers from TOML. | |
| void | msgpack_rpc::config::toml::impl::parse_toml (const ::toml::table &table, std::unordered_map< std::string, ClientConfig > &configs) |
| Parse configurations of clients from TOML. | |
| void | msgpack_rpc::config::toml::impl::parse_toml (const ::toml::table &table, std::unordered_map< std::string, ServerConfig > &configs) |
| Parse configurations of servers from TOML. | |
Definition of parse_toml functions for clients and servers.
Definition in file parse_toml_client_server.h.
|
inline |
Parse a configuration of clients from TOML.
| [in] | table | Table in TOML. |
| [out] | config | Configuration. |
Definition at line 104 of file parse_toml_client_server.h.
|
inline |
Parse a configuration of executors from TOML.
| [in] | table | Table in TOML. |
| [out] | config | Configuration. |
Definition at line 63 of file parse_toml_client_server.h.
|
inline |
Parse a configuration of parsers of messages from TOML.
| [in] | table | Table in TOML. |
| [out] | config | Configuration. |
Definition at line 46 of file parse_toml_client_server.h.
|
inline |
Parse a configuration of reconnection in clients from TOML.
| [in] | table | Table in TOML. |
| [out] | config | Configuration. |
Definition at line 82 of file parse_toml_client_server.h.
|
inline |
Parse a configuration of servers from TOML.
| [in] | table | Table in TOML. |
| [out] | config | Configuration. |
Definition at line 174 of file parse_toml_client_server.h.
|
inline |
Parse configurations of clients from TOML.
| [in] | table | Table in TOML. |
| [out] | configs | Configurations. |
Definition at line 154 of file parse_toml_client_server.h.
|
inline |
Parse configurations of servers from TOML.
| [in] | table | Table in TOML. |
| [out] | configs | Configurations. |
Definition at line 215 of file parse_toml_client_server.h.