comparison OrthancServer/Sources/LuaScripting.cpp @ 4507:b4c58795f3a8

widening the use of DicomTransferSyntax enum
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 11 Feb 2021 09:33:48 +0100
parents 6831de40acd9
children 350a22c094f2 c8f444e8556d
comparison
equal deleted inserted replaced
4506:ac69c9f76c71 4507:b4c58795f3a8
877 call.PushJson(origin); 877 call.PushJson(origin);
878 878
879 Json::Value info = Json::objectValue; 879 Json::Value info = Json::objectValue;
880 info["HasPixelData"] = instance.HasPixelData(); 880 info["HasPixelData"] = instance.HasPixelData();
881 881
882 std::string s; 882 DicomTransferSyntax s;
883 if (instance.LookupTransferSyntax(s)) 883 if (instance.LookupTransferSyntax(s))
884 { 884 {
885 info["TransferSyntaxUID"] = s; 885 info["TransferSyntaxUID"] = GetTransferSyntaxUid(s);
886 } 886 }
887 887
888 call.PushJson(info); 888 call.PushJson(info);
889 889
890 if (!call.ExecutePredicate()) 890 if (!call.ExecutePredicate())