Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Toolbox/GenericToolbox.cpp @ 1591:5887a4f8594b
moving platform-specific files out of the "OrthancStone" folder
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 23 Oct 2020 13:15:03 +0200 |
parents | 244ad1e4e76a |
children | 8563ea5d8ae4 |
comparison
equal
deleted
inserted
replaced
1590:7b963bccafef | 1591:5887a4f8594b |
---|---|
18 * along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 **/ | 19 **/ |
20 | 20 |
21 | 21 |
22 #include "GenericToolbox.h" | 22 #include "GenericToolbox.h" |
23 | |
24 #include <Toolbox.h> | |
23 | 25 |
24 #include <boost/regex.hpp> | 26 #include <boost/regex.hpp> |
25 | 27 |
26 namespace OrthancStone | 28 namespace OrthancStone |
27 { | 29 { |
98 { | 100 { |
99 return false; | 101 return false; |
100 } | 102 } |
101 } | 103 } |
102 | 104 |
105 | |
106 void NormalizeUuid(std::string& uuid) | |
107 { | |
108 std::string temp = Orthanc::Toolbox::StripSpaces(uuid); | |
109 Orthanc::Toolbox::ToLowerCase(temp); | |
110 uuid.swap(temp); | |
111 } | |
103 } | 112 } |
104 } | 113 } |