diff OrthancServer/ServerIndex.h @ 758:67e6400fca03 query-retrieve

integration mainline -> query-retrieve
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Apr 2014 16:34:09 +0200
parents 3bdb5db8e839 696dbb4fd390
children 111e23bb4904
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.h	Fri Jan 24 17:40:45 2014 +0100
+++ b/OrthancServer/ServerIndex.h	Wed Apr 16 16:34:09 2014 +0200
@@ -1,6 +1,6 @@
 /**
  * Orthanc - A Lightweight, RESTful DICOM Store
- * Copyright (C) 2012-2013 Medical Physics Department, CHU of Liege,
+ * Copyright (C) 2012-2014 Medical Physics Department, CHU of Liege,
  * Belgium
  *
  * This program is free software: you can redistribute it and/or
@@ -163,6 +163,9 @@
     void SetProtectedPatient(const std::string& publicId,
                              bool isProtected);
 
+    void GetChildren(std::list<std::string>& result,
+                     const std::string& publicId);
+
     void GetChildInstances(std::list<std::string>& result,
                            const std::string& publicId);
 
@@ -177,9 +180,13 @@
                         const std::string& publicId,
                         MetadataType type);
 
-    bool ListAvailableMetadata(std::list<MetadataType>& target,
+    void ListAvailableMetadata(std::list<MetadataType>& target,
                                const std::string& publicId);
 
+    void ListAvailableAttachments(std::list<FileContentType>& target,
+                                  const std::string& publicId,
+                                  ResourceType expectedType);
+
     bool LookupParent(std::string& target,
                       const std::string& publicId);
 
@@ -214,20 +221,10 @@
     void LookupTagValue(std::list<std::string>& result,
                         const std::string& value);
 
-
-    // TODO IS IT USEFUL???
-    void LookupTagValue(std::set<std::string>& result,
-                        DicomTag tag,
-                        const std::string& value,
-                        ResourceType type);
+    StoreStatus AddAttachment(const FileInfo& attachment,
+                              const std::string& publicId);
 
-    // TODO IS IT USEFUL???
-    void LookupTagValue(std::set<std::string>& result,
-                        DicomTag tag,
-                        const std::string& value);
-
-    // TODO IS IT USEFUL???
-    void LookupTagValue(std::set<std::string>& result,
-                        const std::string& value);
+    void DeleteAttachment(const std::string& publicId,
+                          FileContentType type);
   };
 }