Mercurial > hg > orthanc
comparison OrthancServer/ServerIndex.h @ 3080:1a75595d8e44 db-changes
started refactoring of ServerIndex::Store()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 03 Jan 2019 18:21:22 +0100 |
parents | ce272138f15e |
children | 74e3e48aa9bd |
comparison
equal
deleted
inserted
replaced
3079:65e2bfa953ef | 3080:1a75595d8e44 |
---|---|
114 void LogChange(int64_t internalId, | 114 void LogChange(int64_t internalId, |
115 ChangeType changeType, | 115 ChangeType changeType, |
116 ResourceType resourceType, | 116 ResourceType resourceType, |
117 const std::string& publicId); | 117 const std::string& publicId); |
118 | 118 |
119 void SignalNewResource(ChangeType changeType, | |
120 ResourceType level, | |
121 const std::string& publicId, | |
122 int64_t internalId); | |
123 | |
119 uint64_t IncrementGlobalSequenceInternal(GlobalProperty property); | 124 uint64_t IncrementGlobalSequenceInternal(GlobalProperty property); |
120 | |
121 int64_t CreateResource(const std::string& publicId, | |
122 ResourceType type); | |
123 | 125 |
124 void SetInstanceMetadata(std::map<MetadataType, std::string>& instanceMetadata, | 126 void SetInstanceMetadata(std::map<MetadataType, std::string>& instanceMetadata, |
125 int64_t instance, | 127 int64_t instance, |
126 MetadataType metadata, | 128 MetadataType metadata, |
127 const std::string& value); | 129 const std::string& value); |