93 void SetComment(
const std::string& comment);
102 bool HasComment()
const;
111 std::string GetComment()
const;
118 void Clear()
override;
127 virtual Value& GetJSONRoot()
override;
134 virtual void PrintJSONRoot()
override;
145 virtual bool KeyPresent(
const std::string &key)
const override;
156 virtual bool IsNull(
const std::string &key)
const override;
165 virtual void SetNull(
const std::string &key)
override;
176 virtual bool IsBool(
const std::string &key)
const override;
187 virtual bool GetBool(
const std::string &key)
const override;
197 virtual void SetBool(
const std::string &key,
const bool &value)
override;
208 virtual bool IsTrue(
const std::string &key)
const override;
219 virtual bool IsFalse(
const std::string &key)
const override;
230 virtual bool IsNumber(
const std::string &key)
const override;
241 virtual bool IsInt(
const std::string &key)
const override;
252 virtual int GetInt(
const std::string &key)
const override;
262 virtual void SetInt(
const std::string &key,
const int &value)
override;
273 virtual bool IsDouble(
const std::string &key)
const override;
284 virtual double GetDouble(
const std::string &key)
const override;
294 virtual void SetDouble(
const std::string &key,
const double &value)
override;
305 virtual bool IsUInt(
const std::string &key)
const override;
316 virtual unsigned int GetUInt(
const std::string &key)
const override;
326 virtual void SetUInt(
const std::string &key,
const unsigned int &value)
override;
337 virtual bool IsInt64(
const std::string &key)
const override;
348 virtual Int64 GetInt64(
const std::string &key)
const override;
358 virtual void SetInt64(
const std::string &key,
const Int64 &value)
override;
369 virtual bool IsUInt64(
const std::string &key)
const override;
380 virtual UInt64 GetUInt64(
const std::string &key)
const override;
390 virtual void SetUInt64(
const std::string &key,
const UInt64 &value)
override;
401 virtual bool IsFloat(
const std::string &key)
const override;
412 virtual float GetFloat(
const std::string &key)
const override;
422 virtual void SetFloat(
const std::string &key,
const float &value)
override;
433 virtual bool IsString(
const std::string &key)
const override;
444 virtual const std::string GetString(
const std::string &key)
const override;
454 virtual void SetString(
const std::string &key,
const std::string &value)
override;
465 virtual bool IsArray(
const std::string &key)
const override;
476 virtual Array GetArray(
const std::string &key)
const override;
486 virtual void SetArray(
const std::string &key,
Array &value)
override;
497 virtual bool IsObject(
const std::string &key)
const override;
508 virtual Object GetObject(
const std::string &key)
const override;
518 virtual void SetObject(
const std::string &key, Object &value)
override;
array value (ordered list)
The Base class for all the JSON classes.
int64_t Int64
The fourth int 6.
A class that represents date time utility.
uint64_t UInt64
The fourth u int 6.
std::vector< std::string > Members
The members.