Mercurial > hg > orthanc
comparison OrthancServer/ServerEnumerations.h @ 2309:4dc313b9a20a issue-46-anonymization
Argument "DicomVersion" in URIs "/{...}/{...}/anonymization"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 12 Jul 2017 13:40:02 +0200 |
parents | cc92410cbed2 |
children | d19e716b79fa |
comparison
equal
deleted
inserted
replaced
2308:1bdc4cc68171 | 2309:4dc313b9a20a |
---|---|
133 IdentifierConstraintType_SmallerOrEqual, | 133 IdentifierConstraintType_SmallerOrEqual, |
134 IdentifierConstraintType_GreaterOrEqual, | 134 IdentifierConstraintType_GreaterOrEqual, |
135 IdentifierConstraintType_Wildcard /* Case sensitive, "*" or "?" are the only allowed wildcards */ | 135 IdentifierConstraintType_Wildcard /* Case sensitive, "*" or "?" are the only allowed wildcards */ |
136 }; | 136 }; |
137 | 137 |
138 enum DicomVersion | |
139 { | |
140 DicomVersion_2008, | |
141 DicomVersion_2011, | |
142 DicomVersion_2017c | |
143 }; | |
144 | |
138 | 145 |
139 /** | 146 /** |
140 * WARNING: Do not change the explicit values in the enumerations | 147 * WARNING: Do not change the explicit values in the enumerations |
141 * below this point. This would result in incompatible databases | 148 * below this point. This would result in incompatible databases |
142 * between versions of Orthanc! | 149 * between versions of Orthanc! |
228 | 235 |
229 const char* EnumerationToString(DicomRequestType type); | 236 const char* EnumerationToString(DicomRequestType type); |
230 | 237 |
231 const char* EnumerationToString(TransferSyntax syntax); | 238 const char* EnumerationToString(TransferSyntax syntax); |
232 | 239 |
240 const char* EnumerationToString(DicomVersion version); | |
241 | |
233 ModalityManufacturer StringToModalityManufacturer(const std::string& manufacturer); | 242 ModalityManufacturer StringToModalityManufacturer(const std::string& manufacturer); |
243 | |
244 DicomVersion StringToDicomVersion(const std::string& version); | |
234 | 245 |
235 bool IsUserMetadata(MetadataType type); | 246 bool IsUserMetadata(MetadataType type); |
236 } | 247 } |