Lines Matching defs:defValue
84 * @param defValue Indicates the default value of the preferences.
88 virtual PreferencesValue Get(const std::string &key, const PreferencesValue &defValue) = 0;
108 * @param defValue Indicates the default value of the preferences.
112 virtual int GetInt(const std::string &key, const int &defValue = {}) = 0;
120 * @param defValue Indicates the default value of the preferences.
124 virtual std::string GetString(const std::string &key, const std::string &defValue = {}) = 0;
132 * @param defValue Indicates the default value of the preferences.
136 virtual bool GetBool(const std::string &key, const bool &defValue = {}) = 0;
144 * @param defValue Indicates the default value of the preferences.
148 virtual float GetFloat(const std::string &key, const float &defValue = {}) = 0;
156 * @param defValue Indicates the default value of the preferences.
160 virtual double GetDouble(const std::string &key, const double &defValue = {}) = 0;
168 * @param defValue Indicates the default value of the preferences.
172 virtual int64_t GetLong(const std::string &key, const int64_t &defValue = {}) = 0;
403 * @param defValue Indicates the default value of the preferences.
407 virtual std::pair<int, PreferencesValue> GetValue(const std::string &key, const PreferencesValue &defValue)
409 return {E_OK, defValue};