Mercurial > hg > orthanc-webviewer
comparison Orthanc/Core/Toolbox.h @ 35:7c6cf09d838b
toolchains for MinGW-w64
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 30 Jun 2015 11:55:34 +0200 |
parents | 15acbf5e7545 |
children | dbc1c9ca0030 |
comparison
equal
deleted
inserted
replaced
34:86299731dc4e | 35:7c6cf09d838b |
---|---|
35 #include "Enumerations.h" | 35 #include "Enumerations.h" |
36 | 36 |
37 #include <stdint.h> | 37 #include <stdint.h> |
38 #include <vector> | 38 #include <vector> |
39 #include <string> | 39 #include <string> |
40 | |
41 #if ORTHANC_PUGIXML_ENABLED == 1 | |
42 #include <json/json.h> | 40 #include <json/json.h> |
43 #endif | |
44 | 41 |
45 namespace Orthanc | 42 namespace Orthanc |
46 { | 43 { |
47 typedef std::vector<std::string> UriComponents; | 44 typedef std::vector<std::string> UriComponents; |
48 | 45 |
158 | 155 |
159 void ExecuteSystemCommand(const std::string& command, | 156 void ExecuteSystemCommand(const std::string& command, |
160 const std::vector<std::string>& arguments); | 157 const std::vector<std::string>& arguments); |
161 | 158 |
162 bool IsInteger(const std::string& str); | 159 bool IsInteger(const std::string& str); |
160 | |
161 void CopyJsonWithoutComments(Json::Value& target, | |
162 const Json::Value& source); | |
163 | |
164 bool StartsWith(const std::string& str, | |
165 const std::string& prefix); | |
163 } | 166 } |
164 } | 167 } |