comparison Framework/Plugins/IndexBackend.h @ 117:ca0ecd412988 OrthancMySQL-2.0

Implementation of new extensions: LookupResourceAndParent and GetAllMetadata
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 04 Feb 2019 16:03:17 +0100
parents eb08ec14fb04
children 260fc55f10cd 4cd7e45b671e
comparison
equal deleted inserted replaced
116:569e17419eae 117:ca0ecd412988
281 virtual void GetChildrenMetadata(std::list<std::string>& target, 281 virtual void GetChildrenMetadata(std::list<std::string>& target,
282 int64_t resourceId, 282 int64_t resourceId,
283 int32_t metadata); 283 int32_t metadata);
284 284
285 virtual void TagMostRecentPatient(int64_t patient); 285 virtual void TagMostRecentPatient(int64_t patient);
286
287 #if defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE) // Macro introduced in 1.3.1
288 # if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 5, 4)
289 // New primitive since Orthanc 1.5.4
290 virtual bool LookupResourceAndParent(int64_t& id,
291 OrthancPluginResourceType& type,
292 std::string& parentPublicId,
293 const char* publicId);
294 # endif
295 #endif
296
297 #if defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE) // Macro introduced in 1.3.1
298 # if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 5, 4)
299 // New primitive since Orthanc 1.5.4
300 virtual void GetAllMetadata(std::map<int32_t, std::string>& result,
301 int64_t id);
302 # endif
303 #endif
286 }; 304 };
287 } 305 }