Mercurial > hg > orthanc
comparison Core/SerializationToolbox.h @ 3920:82e88ff003d7 c-get
merge default -> c-get
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Tue, 12 May 2020 14:58:24 +0200 |
parents | 09798f2b985f |
children | 5d2348b39392 |
comparison
equal
deleted
inserted
replaced
3918:dba48c162b7b | 3920:82e88ff003d7 |
---|---|
46 std::string ReadString(const Json::Value& value, | 46 std::string ReadString(const Json::Value& value, |
47 const std::string& field); | 47 const std::string& field); |
48 | 48 |
49 int ReadInteger(const Json::Value& value, | 49 int ReadInteger(const Json::Value& value, |
50 const std::string& field); | 50 const std::string& field); |
51 | |
52 int ReadInteger(const Json::Value& value, | |
53 const std::string& field, | |
54 int defaultValue); | |
51 | 55 |
52 unsigned int ReadUnsignedInteger(const Json::Value& value, | 56 unsigned int ReadUnsignedInteger(const Json::Value& value, |
53 const std::string& field); | 57 const std::string& field); |
54 | 58 |
55 bool ReadBoolean(const Json::Value& value, | 59 bool ReadBoolean(const Json::Value& value, |