Mercurial > hg > orthanc
comparison Core/Uuid.h @ 82:9eb40cad7935
fixes
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 24 Sep 2012 14:05:19 +0200 |
parents | c996319e90bc |
children | fe180eae201d |
comparison
equal
deleted
inserted
replaced
81:0ec5e2e327b1 | 82:9eb40cad7935 |
---|---|
36 namespace Toolbox | 36 namespace Toolbox |
37 { | 37 { |
38 std::string GenerateUuid(); | 38 std::string GenerateUuid(); |
39 | 39 |
40 bool IsUuid(const std::string& str); | 40 bool IsUuid(const std::string& str); |
41 | |
42 class TemporaryFile | |
43 { | |
44 private: | |
45 std::string path_; | |
46 | |
47 public: | |
48 TemporaryFile(); | |
49 | |
50 ~TemporaryFile(); | |
51 | |
52 const std::string& GetPath() const | |
53 { | |
54 return path_; | |
55 } | |
56 }; | |
41 } | 57 } |
42 } | 58 } |