Mercurial > hg > orthanc
comparison Core/SystemToolbox.h @ 3521:793c141be598
added an option not to log ReadFile errors
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Mon, 23 Sep 2019 17:47:54 +0200 |
parents | 4e43e67f8ecf |
children | 94f4a18a79cc |
comparison
equal
deleted
inserted
replaced
3515:13f9ccf05a8e | 3521:793c141be598 |
---|---|
57 ServerBarrierEvent ServerBarrier(const bool& stopFlag); | 57 ServerBarrierEvent ServerBarrier(const bool& stopFlag); |
58 | 58 |
59 ServerBarrierEvent ServerBarrier(); | 59 ServerBarrierEvent ServerBarrier(); |
60 | 60 |
61 void ReadFile(std::string& content, | 61 void ReadFile(std::string& content, |
62 const std::string& path); | 62 const std::string& path, |
63 bool log = true); | |
63 | 64 |
64 bool ReadHeader(std::string& header, | 65 bool ReadHeader(std::string& header, |
65 const std::string& path, | 66 const std::string& path, |
66 size_t headerSize); | 67 size_t headerSize); |
67 | 68 |