mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
12 lines
294 B
C++
12 lines
294 B
C++
#include "Interface/OutputStream.h"
|
|
|
|
class CStringOutputStream : public IOutputStream
|
|
{
|
|
public:
|
|
virtual void write(const std::string &tw);
|
|
virtual void write(const char* buf, size_t count, ostream_type_t stream = STDOUT);
|
|
std::string getData(void);
|
|
|
|
private:
|
|
std::string data;
|
|
}; |