comparison OrthancServer/ServerEnumerations.h @ 1163:3db41779d8f9

abstraction to allow/prevent transfer syntaxes on AET basis
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 17 Sep 2014 17:23:08 +0200
parents 9d0c7301596e
children 5b2d8c280ac2
comparison
equal deleted inserted replaced
1160:80671157d051 1163:3db41779d8f9
77 DicomReplaceMode_InsertIfAbsent, 77 DicomReplaceMode_InsertIfAbsent,
78 DicomReplaceMode_ThrowIfAbsent, 78 DicomReplaceMode_ThrowIfAbsent,
79 DicomReplaceMode_IgnoreIfAbsent 79 DicomReplaceMode_IgnoreIfAbsent
80 }; 80 };
81 81
82 enum TransferSyntax
83 {
84 TransferSyntax_Deflated,
85 TransferSyntax_Jpeg,
86 TransferSyntax_Jpeg2000,
87 TransferSyntax_JpegLossless,
88 TransferSyntax_Jpip,
89 TransferSyntax_Mpeg2,
90 TransferSyntax_Rle
91 };
92
82 93
83 /** 94 /**
84 * WARNING: Do not change the explicit values in the enumerations 95 * WARNING: Do not change the explicit values in the enumerations
85 * below this point. This would result in incompatible databases 96 * below this point. This would result in incompatible databases
86 * between versions of Orthanc! 97 * between versions of Orthanc!
155 166
156 const char* EnumerationToString(ModalityManufacturer manufacturer); 167 const char* EnumerationToString(ModalityManufacturer manufacturer);
157 168
158 const char* EnumerationToString(DicomRequestType type); 169 const char* EnumerationToString(DicomRequestType type);
159 170
171 const char* EnumerationToString(TransferSyntax syntax);
172
160 ModalityManufacturer StringToModalityManufacturer(const std::string& manufacturer); 173 ModalityManufacturer StringToModalityManufacturer(const std::string& manufacturer);
161 174
162 ResourceType GetParentResourceType(ResourceType type); 175 ResourceType GetParentResourceType(ResourceType type);
163 176
164 ResourceType GetChildResourceType(ResourceType type); 177 ResourceType GetChildResourceType(ResourceType type);