comparison OrthancServer/ServerEnumerations.h @ 620:4aa6f0d79947 find-move-scp

security filter for dicom requests
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 Oct 2013 12:36:00 +0200
parents f64e3838d6e1
children 08eca5d86aad
comparison
equal deleted inserted replaced
619:70d0f27e5bd3 620:4aa6f0d79947
55 55
56 enum ModalityManufacturer 56 enum ModalityManufacturer
57 { 57 {
58 ModalityManufacturer_Generic, 58 ModalityManufacturer_Generic,
59 ModalityManufacturer_ClearCanvas 59 ModalityManufacturer_ClearCanvas
60 };
61
62 enum DicomRequestType
63 {
64 DicomRequestType_Echo,
65 DicomRequestType_Find,
66 DicomRequestType_Get,
67 DicomRequestType_Move,
68 DicomRequestType_Store
60 }; 69 };
61 70
62 71
63 /** 72 /**
64 * WARNING: Do not change the explicit values in the enumerations 73 * WARNING: Do not change the explicit values in the enumerations
124 133
125 const char* EnumerationToString(ChangeType type); 134 const char* EnumerationToString(ChangeType type);
126 135
127 const char* EnumerationToString(ModalityManufacturer manufacturer); 136 const char* EnumerationToString(ModalityManufacturer manufacturer);
128 137
138 const char* EnumerationToString(DicomRequestType type);
139
129 ModalityManufacturer StringToModalityManufacturer(const std::string& manufacturer); 140 ModalityManufacturer StringToModalityManufacturer(const std::string& manufacturer);
130 141
131 ResourceType GetParentResourceType(ResourceType type); 142 ResourceType GetParentResourceType(ResourceType type);
132 143
133 ResourceType GetChildResourceType(ResourceType type); 144 ResourceType GetChildResourceType(ResourceType type);