comparison OrthancServer/ServerEnumerations.cpp @ 216:e5d5d4a9a326

refactored upload of dicom through http
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 29 Nov 2012 11:57:35 +0100
parents 7f4acf490179
children f23318b11b39
comparison
equal deleted inserted replaced
215:c07170f3f4f7 216:e5d5d4a9a326
97 default: 97 default:
98 throw OrthancException(ErrorCode_ParameterOutOfRange); 98 throw OrthancException(ErrorCode_ParameterOutOfRange);
99 } 99 }
100 } 100 }
101 101
102 const char* ToString(StoreStatus status)
103 {
104 switch (status)
105 {
106 case StoreStatus_Success:
107 return "Success";
108
109 case StoreStatus_AlreadyStored:
110 return "AlreadyStored";
111
112 case StoreStatus_Failure:
113 return "Failure";
114
115 default:
116 throw OrthancException(ErrorCode_ParameterOutOfRange);
117 }
118 }
119
120
102 const char* ToString(ChangeType type) 121 const char* ToString(ChangeType type)
103 { 122 {
104 switch (type) 123 switch (type)
105 { 124 {
106 case ChangeType_CompletedSeries: 125 case ChangeType_CompletedSeries: