Lines Matching defs:const

39 std::unique_ptr<PtJson> PtJson::Parse(const std::string &data)
45 std::string PtJson::Stringify() const
61 bool PtJson::Add(const char *key, bool value) const
79 bool PtJson::Add(const char *key, int32_t value) const
84 bool PtJson::Add(const char *key, int64_t value) const
89 bool PtJson::Add(const char *key, uint32_t value) const
94 bool PtJson::Add(const char *key, double value) const
112 bool PtJson::Add(const char *key, const char *value) const
130 bool PtJson::Add(const char *key, const std::unique_ptr<PtJson> &value) const
147 bool PtJson::Push(bool value) const
163 bool PtJson::Push(int32_t value) const
168 bool PtJson::Push(int64_t value) const
173 bool PtJson::Push(uint32_t value) const
178 bool PtJson::Push(double value) const
194 bool PtJson::Push(const char *value) const
210 bool PtJson::Push(const std::unique_ptr<PtJson> &value) const
229 bool PtJson::Remove(const char *key) const
237 bool PtJson::Contains(const char *key) const
243 std::string PtJson::GetKey() const
252 cJSON *PtJson::GetJson() const
257 bool PtJson::IsBool() const
262 bool PtJson::IsNumber() const
267 bool PtJson::IsString() const
272 bool PtJson::IsObject() const
277 bool PtJson::IsArray() const
282 bool PtJson::IsNull() const
287 bool PtJson::GetBool(bool defaultValue) const
296 int32_t PtJson::GetInt(int32_t defaultValue) const
305 int64_t PtJson::GetInt64(int64_t defaultValue) const
314 uint32_t PtJson::GetUInt(uint32_t defaultValue) const
323 uint64_t PtJson::GetUInt64(uint64_t defaultValue) const
332 double PtJson::GetDouble(double defaultValue) const
341 std::string PtJson::GetString() const
350 int32_t PtJson::GetSize() const
355 std::unique_ptr<PtJson> PtJson::Get(int32_t index) const
360 Result PtJson::GetBool(const char *key, bool *value) const
374 Result PtJson::GetInt(const char *key, int32_t *value) const
384 Result PtJson::GetInt64(const char *key, int64_t *value) const
394 Result PtJson::GetUInt(const char *key, uint32_t *value) const
404 Result PtJson::GetUInt64(const char *key, uint64_t *value) const
414 Result PtJson::GetDouble(const char *key, double *value) const
428 Result PtJson::GetString(const char *key, std::string *value) const
442 Result PtJson::GetObject(const char *key, std::unique_ptr<PtJson> *value) const
456 Result PtJson::GetArray(const char *key, std::unique_ptr<PtJson> *value) const
470 Result PtJson::GetAny(const char *key, std::unique_ptr<PtJson> *value) const