numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
num_collect::logging::config::log_config_parser_base Class Referenceabstract

Interface of parsers of logging configurations. More...

#include <num_collect/logging/config/log_config_parser_base.h>

+ Inheritance diagram for num_collect::logging::config::log_config_parser_base:
+ Collaboration diagram for num_collect::logging::config::log_config_parser_base:

Public Member Functions

 log_config_parser_base (const log_config_parser_base &)=delete
 
 log_config_parser_base (log_config_parser_base &&)=delete
 
virtual ~log_config_parser_base () noexcept=default
 Destructor.
 
auto operator= (const log_config_parser_base &) -> log_config_parser_base &=delete
 
auto operator= (log_config_parser_base &&) -> log_config_parser_base &=delete
 
virtual void parse_from_file (std::string_view filepath)=0
 Parse configuration from a file.
 
virtual void parse_from_text (std::string_view text)=0
 Parse configuration from a file.
 

Protected Member Functions

 log_config_parser_base () noexcept=default
 Constructor.
 

Detailed Description

Interface of parsers of logging configurations.

Definition at line 29 of file log_config_parser_base.h.

Member Function Documentation

◆ parse_from_file()

virtual void num_collect::logging::config::log_config_parser_base::parse_from_file ( std::string_view filepath)
pure virtual

Parse configuration from a file.

Parameters
[in]filepathFilepath.

Implemented in num_collect::logging::config::toml::toml_log_config_parser.

◆ parse_from_text()

virtual void num_collect::logging::config::log_config_parser_base::parse_from_text ( std::string_view text)
pure virtual

Parse configuration from a file.

Parameters
[in]textText.

Implemented in num_collect::logging::config::toml::toml_log_config_parser.


The documentation for this class was generated from the following file: