| 249 | { |
| 250 | public: |
| 251 | ArbiterInStream(const std::string& localPath, const std::string& remotePath, |
| 252 | std::ios::openmode mode) : |
| 253 | m_localFile(localPath) |
| 254 | { |
| 255 | arbiter::Arbiter a; |
| 256 | a.put(localPath, a.getBinary(remotePath)); |
| 257 | open(localPath, mode); |
| 258 | } |
| 259 | |
| 260 | TempFile m_localFile; |
| 261 | }; |