numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Namespace of logging configuration in TOML files. More...
Namespaces | |
namespace | impl |
Namespace of internal implementations. | |
Classes | |
class | toml_combined_log_sink_config_parser |
Class to parse configurations of log sinks to write logs to multiple log sinks. More... | |
class | toml_combined_log_sink_factory |
Class to create log sinks to write logs to multiple log sinks. More... | |
class | toml_console_log_sink_config_parser |
Class to parse configurations of log sinks to write to consoles. More... | |
class | toml_console_log_sink_factory |
Class to create log sinks to write to consoles using TOML configurations. More... | |
class | toml_log_config_parser |
Class to parse log configuration from a TOML file. More... | |
class | toml_log_sink_config_parser_base |
Interface of parser of configurations of log sinks. More... | |
class | toml_single_file_log_sink_config_parser |
Class to parse configurations of log sinks to write to files without rotation. More... | |
class | toml_single_file_log_sink_factory |
Class to create log sinks to write to files without rotation using TOML configurations. More... | |
Functions | |
template<typename T > | |
void | read_optional_value_to (T &output, const ::toml::table &table, std::string_view path, std::string_view config_name, std::string_view type_name) |
Read a value to a variable. | |
template<typename T > | |
auto | require_value (const ::toml::table &table, std::string_view path, std::string_view config_name, std::string_view type_name) -> T |
Get a value or throw exceptions. | |
Namespace of logging configuration in TOML files.
|
inline |
Read a value to a variable.
T | Type of the value. |
[out] | output | Output variable. |
[in] | table | Table in toml++ library. |
[in] | path | Path. |
[in] | config_name | Configuration name for exceptions. |
[in] | type_name | Type name for exceptions. |
Definition at line 70 of file toml_helper.h.
|
inline |
Get a value or throw exceptions.
T | Type of the value. |
[in] | table | Table in toml++ library. |
[in] | path | Path. |
[in] | config_name | Configuration name for exceptions. |
[in] | type_name | Type name for exceptions. |
Definition at line 44 of file toml_helper.h.