comparison OrthancServer/ServerIndex.h @ 1237:0f3716b88af7

cleaning
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Dec 2014 15:33:16 +0100
parents efece308018e
children 6c07108ff1e2
comparison
equal deleted inserted replaced
1236:21d84e3acc0d 1237:0f3716b88af7
101 /* out */ unsigned int& countSeries, 101 /* out */ unsigned int& countSeries,
102 /* out */ unsigned int& countInstances, 102 /* out */ unsigned int& countInstances,
103 /* in */ int64_t id, 103 /* in */ int64_t id,
104 /* in */ ResourceType type); 104 /* in */ ResourceType type);
105 105
106 bool GetMetadataAsInteger(int& result,
107 int64_t id,
108 MetadataType type);
109
110 void LogChange(int64_t internalId,
111 ChangeType changeType,
112 ResourceType resourceType,
113 const std::string& publicId)
114 {
115 ServerIndexChange change(changeType, resourceType, publicId);
116 db_->LogChange(internalId, change);
117 }
118
119 uint64_t IncrementGlobalSequenceInternal(GlobalProperty property);
120
121
106 public: 122 public:
107 ServerIndex(ServerContext& context, 123 ServerIndex(ServerContext& context,
108 const std::string& dbPath); 124 const std::string& dbPath);
109 125
110 ~ServerIndex(); 126 ~ServerIndex();