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,
20 virtual void create (
const std::string &name,
21 bool exclusive =
false,
23 virtual void open (
const char *name,
26 virtual void open (
const std::string &name,
42 virtual void close (
void);
43 virtual void abort (
void);
51 #endif // DCACHE_ADAPTOR_DCACHE_FILE_H
std::vector< Variable::Flags > flags
virtual void resize(IOOffset size)
virtual IOSize write(const void *from, IOSize n, IOOffset pos)
virtual IOSize write(const void *from, IOSize n)
virtual void create(const char *name, bool exclusive=false, int perms=0666)
virtual IOOffset position(void) const
virtual IOSize readv(IOBuffer *into, IOSize buffers)
virtual void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
unsigned int offset(bool)
static std::string from(" from ")
virtual IOOffset size(void) const