55 static std::ostream&
copy(std::ostream &output, std::istream &input,
const std::streamsize size,
const size_t buffer_size = 0x1000);
63 virtual void clear() = 0;
65 virtual void open() = 0;
66 virtual void close() = 0;
73 std::iostream &_stream;
202 virtual void clear();
205 virtual void close();
216 std::fstream _filestream;
232 class StringBLOB :
public BLOB
236 virtual ~StringBLOB();
238 virtual void clear();
241 virtual void close();
244 std::iostream &__get_stream()
246 return _stringstream;
249 std::streamsize __get_size();
253 std::stringstream _stringstream;
272 class TmpFileBLOB :
public BLOB
275 TmpFileBLOB(
const File &path);
276 virtual ~TmpFileBLOB();
278 virtual void clear();
281 virtual void close();
284 std::iostream &__get_stream()
289 std::streamsize __get_size();
292 std::fstream _filestream;