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,
22 bool exclusive =
false,
24 virtual void open (
const char *name,
41 virtual void close (
void);
42 virtual void abort (
void);
62 #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 IOOffset size(void) const