Lines Matching refs:string
21 #include <string>
43 virtual bool GetKey(const std::string& key, std::string* value) const = 0;
47 virtual bool SetKey(const std::string& key, const std::string& value) = 0;
50 virtual bool KeyExists(const std::string& key) const = 0;
54 virtual bool DeleteKey(const std::string& key) = 0;
63 bool GetString(const std::string& key, std::string* value) const override;
64 bool SetString(const std::string& key, const std::string& value) override;
65 bool GetInt64(const std::string& key, int64_t* value) const override;
66 bool SetInt64(const std::string& key, const int64_t value) override;
67 bool GetBoolean(const std::string& key, bool* value) const override;
68 bool SetBoolean(const std::string& key, const bool value) override;
70 bool Exists(const std::string& key) const override;
71 bool Delete(const std::string& key) override;
73 void AddObserver(const std::string& key,
75 void RemoveObserver(const std::string& key,
80 std::map<std::string, std::vector<ObserverInterface*>> observers_;
113 bool GetKey(const std::string& key, std::string* value) const override;
114 bool SetKey(const std::string& key, const std::string& value) override;
115 bool KeyExists(const std::string& key) const override;
116 bool DeleteKey(const std::string& key) override;
125 bool GetFileNameForKey(const std::string& key,
151 bool GetKey(const std::string& key, std::string* value) const override;
152 bool SetKey(const std::string& key, const std::string& value) override;
153 bool KeyExists(const std::string& key) const override;
154 bool DeleteKey(const std::string& key) override;
158 std::map<std::string, std::string> values_;