Chira Engine
A customizable MIT-licensed game engine.
chira::ISettingsLoader Class Referenceabstract
Inheritance diagram for chira::ISettingsLoader:

Public Member Functions

 ISettingsLoader (std::string_view filename, std::string_view path, bool relative=false)
 
virtual void getValue (const std::string &name, int *value) const =0
 
virtual void getValue (const std::string &name, double *value) const =0
 
virtual void getValue (const std::string &name, std::string *value) const =0
 
virtual void getValue (const std::string &name, bool *value) const =0
 
virtual void setValue (const std::string &name, int value, bool overwrite, bool save)=0
 
virtual void setValue (const std::string &name, double value, bool overwrite, bool save)=0
 
virtual void setValue (const std::string &name, const std::string &value, bool overwrite, bool save)=0
 
virtual void setValue (const std::string &name, bool value, bool overwrite, bool save)=0
 
virtual bool hasValue (const std::string &name) const =0
 
virtual void load ()=0
 
virtual void save ()=0
 
std::string_view getFilePath () const
 

Detailed Description

Definition at line 8 of file ISettingsLoader.h.


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