comparison OrthancServer/IDatabaseWrapper.h @ 1252:ee43f0d611a8

testing
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 07 Jan 2015 17:41:41 +0100
parents 32fcc5dc7562
children b4acdb37e43b
comparison
equal deleted inserted replaced
1251:ac877a0fcf52 1252:ee43f0d611a8
170 bool isProtected) = 0; 170 bool isProtected) = 0;
171 171
172 virtual SQLite::ITransaction* StartTransaction() = 0; 172 virtual SQLite::ITransaction* StartTransaction() = 0;
173 173
174 virtual void SetListener(IServerIndexListener& listener) = 0; 174 virtual void SetListener(IServerIndexListener& listener) = 0;
175
176
177 // For unit tests only!
178 virtual void GetChildren(std::list<std::string>& childrenPublicIds,
179 int64_t id) = 0;
180
181 // For unit tests only!
182 virtual int64_t GetTableRecordCount(const std::string& table) = 0;
183
184 // For unit tests only!
185 virtual bool GetParentPublicId(std::string& result,
186 int64_t id) = 0;
187
175 }; 188 };
176 } 189 }