Mercurial > hg > orthanc
diff Core/SerializationToolbox.h @ 3870:09798f2b985f transcoding
added a Timeout argument to every DICOM command + 'TargetAet' not mandatory anymore in /retrieve
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 29 Apr 2020 12:26:51 +0200 |
parents | f6a73611ec5c |
children | 5d2348b39392 |
line wrap: on
line diff
--- a/Core/SerializationToolbox.h Tue Apr 28 16:46:04 2020 +0200 +++ b/Core/SerializationToolbox.h Wed Apr 29 12:26:51 2020 +0200 @@ -49,6 +49,10 @@ int ReadInteger(const Json::Value& value, const std::string& field); + int ReadInteger(const Json::Value& value, + const std::string& field, + int defaultValue); + unsigned int ReadUnsignedInteger(const Json::Value& value, const std::string& field);