4 #include <editor/EditorGlobal.h> 6 #include <UnigineString.h> 7 #include <UnigineGUID.h> 18 virtual bool contains(
const char *full_parameter_name)
const = 0;
19 virtual bool remove(
const char *full_parameter_name) = 0;
21 virtual void setInt(
const char *full_parameter_name,
int value) = 0;
22 virtual int getInt(
const char *full_parameter_name,
int default_value = 0)
const = 0;
24 virtual void setInt64(
const char *full_parameter_name, int64_t value) = 0;
25 virtual int64_t getInt64(
const char *full_parameter_name, int64_t default_value = 0)
const = 0;
27 virtual void setFloat(
const char *full_parameter_name,
float value) = 0;
28 virtual float getFloat(
const char *full_parameter_name,
float default_value = 0)
const = 0;
30 virtual void setDouble(
const char *full_parameter_name,
double value) = 0;
31 virtual double getDouble(
const char *full_parameter_name,
double default_value = 0)
const = 0;
33 virtual void setBool(
const char *full_parameter_name,
bool value) = 0;
34 virtual bool getBool(
const char *full_parameter_name,
bool default_value =
false)
const = 0;
36 virtual void setGUID(
const char *full_parameter_name,
const Unigine::UGUID &value) = 0;
37 virtual Unigine::UGUID getGUID(
const char *full_parameter_name,
38 const Unigine::UGUID &default_value = Unigine::UGUID::empty)
const = 0;
40 virtual void setString(
const char *full_parameter_name,
const char *value) = 0;
41 virtual Unigine::StringStack<> getString(
const char *full_parameter_name,
42 const char *default_value =
nullptr)
const = 0;
48 virtual const char *getPath()
const = 0;
68 bool contains(
const char *parameter_name)
const 72 void remove(
const char *parameter_name)
77 void setInt(
const char *parameter_name,
int value)
81 int getInt(
const char *parameter_name,
int default_value = 0)
const 86 void setInt64(
const char *parameter_name, int64_t value)
90 int64_t
getInt64(
const char *parameter_name, int64_t default_value = 0)
const 95 void setFloat(
const char *parameter_name,
float value)
99 float getFloat(
const char *parameter_name,
float default_value = 0.0)
const 104 void setDouble(
const char *parameter_name,
double value)
108 double getDouble(
const char *parameter_name,
double default_value = 0.0)
const 113 void setBool(
const char *parameter_name,
bool value)
117 bool getBool(
const char *parameter_name,
bool default_value = 0)
const 122 void setGUID(
const char *parameter_name,
const Unigine::UGUID &value)
126 Unigine::UGUID
getGUID(
const char *parameter_name,
127 const Unigine::UGUID &default_value = Unigine::UGUID::empty)
const 132 void setString(
const char *parameter_name,
const char *value)
136 Unigine::StringStack<>
getString(
const char *parameter_name,
137 const char *default_value =
nullptr)
const 144 return group_path + parameter_name;
149 const Unigine::StringStack<> group_path;
virtual void setBool(const char *full_parameter_name, bool value)=0
virtual Unigine::UGUID getGUID(const char *full_parameter_name, const Unigine::UGUID &default_value=Unigine::UGUID::empty) const =0
Unigine::StringStack getString(const char *parameter_name, const char *default_value=nullptr) const
Definition: SettingManager.h:136
virtual void setInt64(const char *full_parameter_name, int64_t value)=0
Definition: SettingManager.h:51
virtual void setDouble(const char *full_parameter_name, double value)=0
virtual int getInt(const char *full_parameter_name, int default_value=0) const =0
Definition: SettingManager.h:13
double getDouble(const char *parameter_name, double default_value=0.0) const
Definition: SettingManager.h:108
virtual bool getBool(const char *full_parameter_name, bool default_value=false) const =0
virtual int64_t getInt64(const char *full_parameter_name, int64_t default_value=0) const =0
bool getBool(const char *parameter_name, bool default_value=0) const
Definition: SettingManager.h:117
virtual void setString(const char *full_parameter_name, const char *value)=0
Definition: SettingManager.h:45
virtual void setInt(const char *full_parameter_name, int value)=0
virtual double getDouble(const char *full_parameter_name, double default_value=0) const =0
virtual bool contains(const char *full_parameter_name) const =0
void setFloat(const char *parameter_name, float value)
Definition: SettingManager.h:95
int64_t getInt64(const char *parameter_name, int64_t default_value=0) const
Definition: SettingManager.h:90
Unigine::StringStack makeFullName(const char *parameter_name) const
Definition: SettingManager.h:142
float getFloat(const char *parameter_name, float default_value=0.0) const
Definition: SettingManager.h:99
void setString(const char *parameter_name, const char *value)
Definition: SettingManager.h:132
void setBool(const char *parameter_name, bool value)
Definition: SettingManager.h:113
void setGUID(const char *parameter_name, const Unigine::UGUID &value)
Definition: SettingManager.h:122
virtual Unigine::StringStack getString(const char *full_parameter_name, const char *default_value=nullptr) const =0
int getInt(const char *parameter_name, int default_value=0) const
Definition: SettingManager.h:81
virtual void setGUID(const char *full_parameter_name, const Unigine::UGUID &value)=0
void setDouble(const char *parameter_name, double value)
Definition: SettingManager.h:104
void setInt64(const char *parameter_name, int64_t value)
Definition: SettingManager.h:86
bool contains(const char *parameter_name) const
Definition: SettingManager.h:68
void setInt(const char *parameter_name, int value)
Definition: SettingManager.h:77
virtual float getFloat(const char *full_parameter_name, float default_value=0) const =0
virtual void setFloat(const char *full_parameter_name, float value)=0
virtual bool remove(const char *full_parameter_name)=0
void remove(const char *parameter_name)
Definition: SettingManager.h:72
Definition: SettingManager.h:60
SettingsParametersGroup(SettingsParameters &s, const char *group)
Definition: SettingManager.h:63
Unigine::UGUID getGUID(const char *parameter_name, const Unigine::UGUID &default_value=Unigine::UGUID::empty) const
Definition: SettingManager.h:126