Classes | Static Public Member Functions | Static Protected Member Functions | List of all members
NAF::Tools::SettingsManager Class Reference

Classes

struct  Setting
 

Static Public Member Functions

static std::vector< Setting > & get_settings ()
 
static std::string get_config_path ()
 
static void set_config_path (std::string config_path)
 
static std::vector< Setting >::iterator GetSetting_ (std::string setting_name)
 
static std::string GetSetting_ (std::string setting_name, const char *another_value)
 
static std::string GetSetting_ (std::string setting_name, std::string another_value)
 
static int GetSetting_ (std::string setting_name, int another_value)
 
static float GetSetting_ (std::string setting_name, float another_value)
 
static bool GetSetting_ (std::string setting_name, bool another_value)
 
static void AddSetting_ (std::string name, Tools::DValue::Type type, Tools::DValue value)
 
static void AddBasicSettings_ ()
 
static void ReadSettings_ ()
 

Static Protected Member Functions

static bool VerifyYAMLScalarNode_ (YAML::Node &node)
 
static bool VerifyYAMLMapNode_ (YAML::Node &node)
 
static void PrintError_ (std::string function, std::string variable)