Mercurial > hg > orthanc
comparison OrthancServer/FromDcmtkBridge.h @ 176:81f11fb357f2
uid generation
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 07 Nov 2012 17:21:21 +0100 |
parents | fe180eae201d |
children | 4031f73fe0e4 |
comparison
equal
deleted
inserted
replaced
175:662af781a227 | 176:81f11fb357f2 |
---|---|
41 enum ImageExtractionMode | 41 enum ImageExtractionMode |
42 { | 42 { |
43 ImageExtractionMode_Preview, | 43 ImageExtractionMode_Preview, |
44 ImageExtractionMode_UInt8, | 44 ImageExtractionMode_UInt8, |
45 ImageExtractionMode_UInt16 | 45 ImageExtractionMode_UInt16 |
46 }; | |
47 | |
48 enum DicomRootLevel | |
49 { | |
50 DicomRootLevel_Study, | |
51 DicomRootLevel_Series, | |
52 DicomRootLevel_Instance | |
46 }; | 53 }; |
47 | 54 |
48 class FromDcmtkBridge | 55 class FromDcmtkBridge |
49 { | 56 { |
50 public: | 57 public: |
103 static void Print(FILE* fp, | 110 static void Print(FILE* fp, |
104 const DicomMap& m); | 111 const DicomMap& m); |
105 | 112 |
106 static void ToJson(Json::Value& result, | 113 static void ToJson(Json::Value& result, |
107 const DicomMap& values); | 114 const DicomMap& values); |
115 | |
116 static std::string GenerateUniqueIdentifier(DicomRootLevel level); | |
108 }; | 117 }; |
109 } | 118 } |