SOMHunter Core
sh::Settings Struct Reference

Parsed current config of the core. More...

#include <settings.h>

Collaboration diagram for sh::Settings:

Static Public Member Functions

static Settings parse_JSON_config (const std::string &filepath)
 Parsees the JSON config file that holds initial config. More...
 
static Settings parse_JSON_config_string (const std::string &cfg_file_contents)
 

Public Attributes

TestsSettings tests
 
PresentationViewsSettings presentation_views
 
LoggerSettings logger
 
ApiConfig API
 
EvalServerSettings eval_server
 
RemoteServicesSettings remote_services
 
ModelsSettings models
 
DatasetsSettings datasets
 

Detailed Description

Parsed current config of the core.

See also
ParseJsonConfig

Member Function Documentation

◆ parse_JSON_config()

Settings Settings::parse_JSON_config ( const std::string &  filepath)
static

Parsees the JSON config file that holds initial config.

That means basically what we have in config.h now (paths etc.)

Here is the call graph for this function:

◆ parse_JSON_config_string()

Settings Settings::parse_JSON_config_string ( const std::string &  cfg_file_contents)
static
Here is the call graph for this function:

Member Data Documentation

◆ API

ApiConfig sh::Settings::API

◆ datasets

DatasetsSettings sh::Settings::datasets

◆ eval_server

EvalServerSettings sh::Settings::eval_server

◆ logger

LoggerSettings sh::Settings::logger

◆ models

ModelsSettings sh::Settings::models

◆ presentation_views

PresentationViewsSettings sh::Settings::presentation_views

◆ remote_services

RemoteServicesSettings sh::Settings::remote_services

◆ tests

TestsSettings sh::Settings::tests

The documentation for this struct was generated from the following files: