comparison OrthancServer/IDatabaseWrapper.h @ 1301:5d56cfa49f68

rename
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 09 Feb 2015 15:31:29 +0100
parents 910478b2d4e4
children 5fe254fb1c93
comparison
equal deleted inserted replaced
1300:919dfb2fb3fe 1301:5d56cfa49f68
71 71
72 virtual void DeleteResource(int64_t id) = 0; 72 virtual void DeleteResource(int64_t id) = 0;
73 73
74 virtual void FlushToDisk() = 0; 74 virtual void FlushToDisk() = 0;
75 75
76 virtual void GetAllMetadata(std::map<MetadataType, std::string>& result, 76 virtual void GetAllMetadata(std::map<MetadataType, std::string>& target,
77 int64_t id) = 0; 77 int64_t id) = 0;
78 78
79 virtual void GetAllPublicIds(std::list<std::string>& target, 79 virtual void GetAllPublicIds(std::list<std::string>& target,
80 ResourceType resourceType) = 0; 80 ResourceType resourceType) = 0;
81 81
83 virtual void GetChanges(std::list<ServerIndexChange>& target /*out*/, 83 virtual void GetChanges(std::list<ServerIndexChange>& target /*out*/,
84 bool& done /*out*/, 84 bool& done /*out*/,
85 int64_t since, 85 int64_t since,
86 unsigned int maxResults) = 0; 86 unsigned int maxResults) = 0;
87 87
88 virtual void GetChildrenInternalId(std::list<int64_t>& result, 88 virtual void GetChildrenInternalId(std::list<int64_t>& target,
89 int64_t id) = 0; 89 int64_t id) = 0;
90 90
91 virtual void GetChildrenPublicId(std::list<std::string>& result, 91 virtual void GetChildrenPublicId(std::list<std::string>& target,
92 int64_t id) = 0; 92 int64_t id) = 0;
93 93
94 virtual void GetExportedResources(std::list<ExportedResource>& target /*out*/, 94 virtual void GetExportedResources(std::list<ExportedResource>& target /*out*/,
95 bool& done /*out*/, 95 bool& done /*out*/,
96 int64_t since, 96 int64_t since,
118 virtual bool IsProtectedPatient(int64_t internalId) = 0; 118 virtual bool IsProtectedPatient(int64_t internalId) = 0;
119 119
120 virtual void ListAvailableMetadata(std::list<MetadataType>& target, 120 virtual void ListAvailableMetadata(std::list<MetadataType>& target,
121 int64_t id) = 0; 121 int64_t id) = 0;
122 122
123 virtual void ListAvailableAttachments(std::list<FileContentType>& result, 123 virtual void ListAvailableAttachments(std::list<FileContentType>& target,
124 int64_t id) = 0; 124 int64_t id) = 0;
125 125
126 virtual void LogChange(int64_t internalId, 126 virtual void LogChange(int64_t internalId,
127 const ServerIndexChange& change) = 0; 127 const ServerIndexChange& change) = 0;
128 128
133 FileContentType contentType) = 0; 133 FileContentType contentType) = 0;
134 134
135 virtual bool LookupGlobalProperty(std::string& target, 135 virtual bool LookupGlobalProperty(std::string& target,
136 GlobalProperty property) = 0; 136 GlobalProperty property) = 0;
137 137
138 virtual void LookupIdentifier(std::list<int64_t>& result, 138 virtual void LookupIdentifier(std::list<int64_t>& target,
139 const DicomTag& tag, 139 const DicomTag& tag,
140 const std::string& value) = 0; 140 const std::string& value) = 0;
141 141
142 virtual void LookupIdentifier(std::list<int64_t>& result, 142 virtual void LookupIdentifier(std::list<int64_t>& target,
143 const std::string& value) = 0; 143 const std::string& value) = 0;
144 144
145 virtual bool LookupMetadata(std::string& target, 145 virtual bool LookupMetadata(std::string& target,
146 int64_t id, 146 int64_t id,
147 MetadataType type) = 0; 147 MetadataType type) = 0;