| 73 | {} |
| 74 | |
| 75 | void setStream(std::ostream& outputStream) |
| 76 | { |
| 77 | _outputStream = &outputStream; |
| 78 | |
| 79 | // Copy temporary data to new buffer |
| 80 | (*_outputStream) << _tempOutputStream.str(); |
| 81 | _tempOutputStream.clear(); |
| 82 | } |
| 83 | |
| 84 | std::ostream& getStream() { |
| 85 | return *_outputStream; |
no test coverage detected