1 #ifndef DCACHE_ADAPTOR_DCACHE_FILE_H 2 # define DCACHE_ADAPTOR_DCACHE_FILE_H 17 virtual void create (
const char *name,
18 bool exclusive =
false,
21 bool exclusive =
false,
23 virtual void open (
const char *name,
42 void close (
void)
override;
43 virtual void abort (
void);
51 #endif // DCACHE_ADAPTOR_DCACHE_FILE_H void close(void) override
std::vector< Variable::Flags > flags
void resize(IOOffset size) override
IOSize write(const void *from, IOSize n) override
~DCacheFile(void) override
virtual IOSize write(const void *from, IOSize n, IOOffset pos)
virtual void create(const char *name, bool exclusive=false, int perms=0666)
virtual IOOffset position(void) const
virtual void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
virtual IOOffset size(void) const
IOSize readv(IOBuffer *into, IOSize buffers) override