Mercurial > hg > orthanc
comparison Core/Toolbox.h @ 2172:84d1d392a9ab
GenerateUuid() not available in sandboxed environments
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 23 Nov 2016 12:06:00 +0100 |
parents | fd5875662670 |
children | 4e8e0ad2001c |
comparison
equal
deleted
inserted
replaced
2171:35febe19e874 | 2172:84d1d392a9ab |
---|---|
202 | 202 |
203 unsigned int GetJsonUnsignedIntegerField(const ::Json::Value& json, | 203 unsigned int GetJsonUnsignedIntegerField(const ::Json::Value& json, |
204 const std::string& key, | 204 const std::string& key, |
205 unsigned int defaultValue); | 205 unsigned int defaultValue); |
206 | 206 |
207 std::string GenerateUuid(); | |
208 | |
209 bool IsUuid(const std::string& str); | 207 bool IsUuid(const std::string& str); |
210 | 208 |
211 bool StartsWithUuid(const std::string& str); | 209 bool StartsWithUuid(const std::string& str); |
212 } | 210 } |
213 } | 211 } |