comparison 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
comparison
equal deleted inserted replaced
3869:c23ef85c7d9c 3870:09798f2b985f
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,