38 bool LoadInitial(std::string file, std::vector<std::string> args, std::string& error);
39 bool LoadAdditionalFile(std::string file,
bool keepOnReload, std::string& error);
40 bool LoadAdditionalDir(std::string
const& dir,
bool keepOnReload, std::vector<std::string>& loadedFiles, std::vector<std::string>& errors);
43 std::vector<std::string> OverrideWithEnvVariablesIfAny();
47 bool Reload(std::vector<std::string>& errors);
49 std::string GetStringDefault(std::string_view name, std::string_view def,
bool quiet =
false)
const;
50 bool GetBoolDefault(std::string_view name,
bool def,
bool quiet =
false)
const;
51 int32 GetIntDefault(std::string_view name,
int32 def,
bool quiet =
false)
const;
52 int64 GetInt64Default(std::string_view name,
int64 def,
bool quiet =
false)
const;
53 float GetFloatDefault(std::string_view name,
float def,
bool quiet =
false)
const;
55 std::string
const& GetFilename();
56 std::vector<std::string>
const& GetArguments()
const;
57 std::vector<std::string> GetKeysByString(std::string
const& name);
60 template<
class T,
class R = T>
61 R GetValueDefault(std::string_view
const& name, T def,
bool quiet)
const;