![]() |
Chira Engine
A customizable MIT-licensed game engine.
|
Public Member Functions | |
JSONSettingsLoader (std::string_view filename) | |
JSONSettingsLoader (std::string_view filename, std::string_view path, bool relative=false) | |
void | getValue (const std::string &name, int *value) const override |
void | getValue (const std::string &name, double *value) const override |
void | getValue (const std::string &name, std::string *value) const override |
void | getValue (const std::string &name, bool *value) const override |
void | setValue (const std::string &name, int value, bool overwrite, bool save) override |
void | setValue (const std::string &name, double value, bool overwrite, bool save) override |
void | setValue (const std::string &name, const std::string &value, bool overwrite, bool save) override |
void | setValue (const std::string &name, bool value, bool overwrite, bool save) override |
bool | hasValue (const std::string &name) const override |
void | load () final |
void | save () final |
![]() | |
ISettingsLoader (std::string_view filename, std::string_view path, bool relative=false) | |
std::string_view | getFilePath () const |
Definition at line 9 of file JSONSettingsLoader.h.