Lines Matching refs:key
35 // 重载实现obj["key"]形式调用
36 Value operator[](const char* key);
37 const Value operator[](const char* key) const;
38 Value operator[](const std::string& key);
39 const Value operator[](const std::string& key) const;
60 bool IsMember(const char* key) const;
62 int32_t GetInt(const char* key, int32_t defaultVal = 0) const;
63 uint32_t GetUInt(const char* key, int32_t defaultVal = 0) const;
64 int64_t GetInt64(const char* key, int32_t defaultVal = 0) const;
65 float GetFloat(const char* key, float defaultVal = 0.0) const;
66 double GetDouble(const char* key, double defaultVal = 0.0) const;
67 bool GetBool(const char* key, bool defaultVal = false) const;
68 std::string GetString(const char* key, const std::string defaultVal = "") const;
69 Value GetValue(const char* key) const;
78 bool Add(const char* key, const char* value);
79 bool Add(const char* key, bool value);
80 bool Add(const char* key, int32_t value);
81 bool Add(const char* key, uint32_t value);
82 bool Add(const char* key, int64_t value);
83 bool Add(const char* key, double value);
84 bool Add(const char* key, const Value& value);
94 bool Replace(const char* key, bool value);
95 bool Replace(const char* key, int32_t value);
96 bool Replace(const char* key, uint32_t value);
97 bool Replace(const char* key, int64_t value);
98 bool Replace(const char* key, double value);
99 bool Replace(const char* key, const char* value);
100 bool Replace(const char* key, const Value& value);