Lines Matching refs:defValue
51 std::string PreferencesUtil::ObtainString(const std::string &key, const std::string &defValue)
55 return defValue;
57 return ptr->GetString(key, defValue);
71 int PreferencesUtil::ObtainInt(const std::string &key, int defValue)
75 return defValue;
77 return ptr->GetInt(key, defValue);
91 bool PreferencesUtil::ObtainBool(const std::string &key, bool defValue)
95 return defValue;
97 return ptr->GetBool(key, defValue);
111 int64_t PreferencesUtil::ObtainLong(const std::string &key, int64_t defValue)
115 return defValue;
117 return ptr->GetLong(key, defValue);
131 float PreferencesUtil::ObtainFloat(const std::string &key, float defValue)
135 return defValue;
137 return ptr->GetFloat(key, defValue);