diff OrthancServer/DatabaseWrapper.h @ 188:090cefdab1d1

fix because of Windows macros
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 12 Nov 2012 17:43:12 +0100
parents 8e673a65564d
children ccbc2cf64a0d
line wrap: on
line diff
--- a/OrthancServer/DatabaseWrapper.h	Mon Nov 12 17:29:11 2012 +0100
+++ b/OrthancServer/DatabaseWrapper.h	Mon Nov 12 17:43:12 2012 +0100
@@ -65,8 +65,8 @@
     void SetGlobalProperty(const std::string& name,
                            const std::string& value);
 
-    bool FindGlobalProperty(std::string& target,
-                            const std::string& name);
+    bool LookupGlobalProperty(std::string& target,
+                              const std::string& name);
 
     std::string GetGlobalProperty(const std::string& name,
                                   const std::string& defaultValue = "");
@@ -74,9 +74,9 @@
     int64_t CreateResource(const std::string& publicId,
                            ResourceType type);
 
-    bool FindResource(const std::string& publicId,
-                      int64_t& id,
-                      ResourceType& type);
+    bool LookupResource(const std::string& publicId,
+                        int64_t& id,
+                        ResourceType& type);
 
     void AttachChild(int64_t parent,
                      int64_t child);
@@ -87,9 +87,9 @@
                      MetadataType type,
                      const std::string& value);
 
-    bool FindMetadata(std::string& target,
-                      int64_t id,
-                      MetadataType type);
+    bool LookupMetadata(std::string& target,
+                        int64_t id,
+                        MetadataType type);
 
     std::string GetMetadata(int64_t id,
                             MetadataType type,
@@ -110,12 +110,12 @@
       AttachFile(id, name, fileUuid, fileSize, fileSize, CompressionType_None);
     }
 
-    bool FindFile(int64_t id,
-                  const std::string& name,
-                  std::string& fileUuid,
-                  uint64_t& compressedSize,
-                  uint64_t& uncompressedSize,
-                  CompressionType& compressionType);
+    bool LookupFile(int64_t id,
+                    const std::string& name,
+                    std::string& fileUuid,
+                    uint64_t& compressedSize,
+                    uint64_t& uncompressedSize,
+                    CompressionType& compressionType);
 
     void SetMainDicomTags(int64_t id,
                           const DicomMap& tags);