comparison OrthancServer/ServerToolbox.h @ 2120:4b02ec79728a

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 07 Nov 2016 11:19:19 +0100
parents b1291df2f780
children 7e8889bc95c6
comparison
equal deleted inserted replaced
2119:e0517f25919e 2120:4b02ec79728a
37 37
38 #include <json/json.h> 38 #include <json/json.h>
39 39
40 namespace Orthanc 40 namespace Orthanc
41 { 41 {
42 namespace Toolbox 42 namespace ServerToolbox
43 { 43 {
44 void SimplifyTags(Json::Value& target, 44 void SimplifyTags(Json::Value& target,
45 const Json::Value& source, 45 const Json::Value& source,
46 DicomToJsonFormat format); 46 DicomToJsonFormat format);
47 47
48 void LogMissingRequiredTag(const DicomMap& summary); 48 void LogMissingRequiredTag(const DicomMap& summary);
49 49
50 void SetMainDicomTags(IDatabaseWrapper& database, 50 void StoreMainDicomTags(IDatabaseWrapper& database,
51 int64_t resource, 51 int64_t resource,
52 ResourceType level, 52 ResourceType level,
53 const DicomMap& dicomSummary); 53 const DicomMap& dicomSummary);
54 54
55 bool FindOneChildInstance(int64_t& result, 55 bool FindOneChildInstance(int64_t& result,
56 IDatabaseWrapper& database, 56 IDatabaseWrapper& database,
57 int64_t resource, 57 int64_t resource,
58 ResourceType type); 58 ResourceType type);