Mercurial > hg > orthanc
comparison OrthancServer/ServerIndex.h @ 1668:de1413733c97 db-changes
reconstructing main dicom tags
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Sep 2015 17:18:39 +0200 |
parents | d6a93e12b1c1 |
children | a903d57d9f0c |
comparison
equal
deleted
inserted
replaced
1667:9e875db36aef | 1668:de1413733c97 |
---|---|
74 static void FlushThread(ServerIndex* that); | 74 static void FlushThread(ServerIndex* that); |
75 | 75 |
76 static void UnstableResourcesMonitorThread(ServerIndex* that); | 76 static void UnstableResourcesMonitorThread(ServerIndex* that); |
77 | 77 |
78 void MainDicomTagsToJson(Json::Value& result, | 78 void MainDicomTagsToJson(Json::Value& result, |
79 int64_t resourceId); | 79 int64_t resourceId, |
80 ResourceType resourceType); | |
80 | 81 |
81 SeriesStatus GetSeriesStatus(int64_t id); | 82 SeriesStatus GetSeriesStatus(int64_t id); |
82 | 83 |
83 bool IsRecyclingNeeded(uint64_t instanceSize); | 84 bool IsRecyclingNeeded(uint64_t instanceSize); |
84 | 85 |
108 ResourceType resourceType, | 109 ResourceType resourceType, |
109 const std::string& publicId); | 110 const std::string& publicId); |
110 | 111 |
111 uint64_t IncrementGlobalSequenceInternal(GlobalProperty property); | 112 uint64_t IncrementGlobalSequenceInternal(GlobalProperty property); |
112 | 113 |
113 void SetMainDicomTags(int64_t resource, | |
114 const DicomMap& tags); | |
115 | |
116 int64_t CreateResource(const std::string& publicId, | 114 int64_t CreateResource(const std::string& publicId, |
117 ResourceType type); | 115 ResourceType type); |
118 | 116 |
119 public: | 117 public: |
120 ServerIndex(ServerContext& context, | 118 ServerIndex(ServerContext& context, |
265 const std::string& publicId, | 263 const std::string& publicId, |
266 ResourceType expectedType); | 264 ResourceType expectedType); |
267 | 265 |
268 bool LookupResourceType(ResourceType& type, | 266 bool LookupResourceType(ResourceType& type, |
269 const std::string& publicId); | 267 const std::string& publicId); |
268 | |
269 unsigned int GetDatabaseVersion(); | |
270 }; | 270 }; |
271 } | 271 } |