1 #ifndef RFIO_ADAPTOR_RFIO_FILE_H
2 #define RFIO_ADAPTOR_RFIO_FILE_H
18 virtual void create (
const char *name,
19 bool exclusive =
false,
21 virtual void create (
const std::string &name,
22 bool exclusive =
false,
24 virtual void open (
const char *name,
27 virtual void open (
const std::string &name,
43 virtual void close (
void);
44 virtual void abort (
void);
58 #endif // RFIO_ADAPTOR_RFIO_FILE_H
virtual IOSize write(const void *from, IOSize n)
virtual IOSize readv(IOPosBuffer *into, IOSize buffers)
std::vector< Variable::Flags > flags
virtual IOSize readv(IOPosBuffer *into, IOSize buffers)
virtual void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
virtual IOSize write(const void *from, IOSize n, IOOffset pos)
virtual void resize(IOOffset size)
virtual IOOffset position(void) const
virtual void create(const char *name, bool exclusive=false, int perms=0666)
unsigned int offset(bool)
ssize_t retryRead(void *into, IOSize n, int maxRetry=10)
virtual bool prefetch(const IOPosBuffer *what, IOSize n)
static std::string from(" from ")
virtual IOOffset size(void) const
virtual bool prefetch(const IOPosBuffer *what, IOSize n)