14 #ifndef __INCLUDED_SCOPIRA_TOOL_NULLFLOW_H__ 15 #define __INCLUDED_SCOPIRA_TOOL_NULLFLOW_H__ 17 #include <scopira/tool/flow.h> 18 #include <scopira/tool/export.h> 42 virtual bool failed(
void)
const {
return false; }
45 virtual size_t read(
byte_t* _buf,
size_t _maxsize) {
return 0; }
47 virtual size_t write(
const byte_t* _buf,
size_t _size) {
return 0; }
65 virtual bool failed(
void)
const {
return false; }
68 virtual size_t write(
const byte_t* _buf,
size_t _size) { dm_count += _size;
return _size; }
73 void set_count(
size_t new_count = 0) { dm_count = new_count; }
Definition: archiveflow.h:20