Mercurial > hg > orthanc
comparison OrthancServer/DatabaseWrapper.h @ 1294:910478b2d4e4
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 06 Feb 2015 13:48:05 +0100 |
parents | 6e7e5ed91c2d |
children | 5d56cfa49f68 |
comparison
equal
deleted
inserted
replaced
1293:21779cebbb96 | 1294:910478b2d4e4 |
---|---|
84 GlobalProperty property); | 84 GlobalProperty property); |
85 | 85 |
86 virtual int64_t CreateResource(const std::string& publicId, | 86 virtual int64_t CreateResource(const std::string& publicId, |
87 ResourceType type); | 87 ResourceType type); |
88 | 88 |
89 virtual bool LookupResource(const std::string& publicId, | 89 virtual bool LookupResource(int64_t& id, |
90 int64_t& id, | 90 ResourceType& type, |
91 ResourceType& type); | 91 const std::string& publicId); |
92 | 92 |
93 virtual bool LookupParent(int64_t& parentId, | 93 virtual bool LookupParent(int64_t& parentId, |
94 int64_t resourceId); | 94 int64_t resourceId); |
95 | 95 |
96 virtual std::string GetPublicId(int64_t resourceId); | 96 virtual std::string GetPublicId(int64_t resourceId); |