Mercurial > hg > orthanc
comparison OrthancFramework/Sources/TemporaryFile.cpp @ 4300:b30a8de92ad9
abi continued
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 05 Nov 2020 19:33:18 +0100 |
parents | 785a2713323e |
children | 50b0c69b653a |
comparison
equal
deleted
inserted
replaced
4299:3f85db78c441 | 4300:b30a8de92ad9 |
---|---|
86 TemporaryFile::~TemporaryFile() | 86 TemporaryFile::~TemporaryFile() |
87 { | 87 { |
88 boost::filesystem::remove(path_); | 88 boost::filesystem::remove(path_); |
89 } | 89 } |
90 | 90 |
91 const std::string &TemporaryFile::GetPath() const | |
92 { | |
93 return path_; | |
94 } | |
95 | |
91 | 96 |
92 void TemporaryFile::Write(const std::string& content) | 97 void TemporaryFile::Write(const std::string& content) |
93 { | 98 { |
94 try | 99 try |
95 { | 100 { |