virtual void flush() { | virtual void flush() { | ||||
if (f) f->flush(); | if (f) f->flush(); | ||||
} | } | ||||
virtual bool truncate(uint64_t size=0) { | |||||
return (f) ? f->truncate(size) : false; | |||||
} | |||||
virtual bool seek(uint64_t pos, int mode) { | virtual bool seek(uint64_t pos, int mode) { | ||||
return (f) ? f->seek(pos, mode) : false; | return (f) ? f->seek(pos, mode) : false; | ||||
} | } |
virtual void flush() { | virtual void flush() { | ||||
if (f) f->flush(); | if (f) f->flush(); | ||||
} | } | ||||
virtual bool truncate(uint64_t size=0) { | |||||
return (f) ? f->truncate(size) : false; | |||||
} | |||||
virtual bool seek(uint64_t pos, int mode) { | virtual bool seek(uint64_t pos, int mode) { | ||||
return (f) ? f->seek(pos, mode) : false; | return (f) ? f->seek(pos, mode) : false; | ||||
} | } |
virtual void flush() { | virtual void flush() { | ||||
if (f) f->flush(); | if (f) f->flush(); | ||||
} | } | ||||
virtual bool truncate(uint64_t size=0) { | |||||
return (f) ? f->truncate(size) : false; | |||||
} | |||||
virtual bool seek(uint64_t pos, int mode) { | virtual bool seek(uint64_t pos, int mode) { | ||||
return (f) ? f->seek(pos, mode) : false; | return (f) ? f->seek(pos, mode) : false; | ||||
} | } |