1 #ifndef XRD_ADAPTOR_XRD_FILE_H
2 # define XRD_ADAPTOR_XRD_FILE_H
6 # include "XrdClient/XrdClient.hh"
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,
47 virtual void close (
void);
48 virtual void abort (
void);
58 #endif // XRD_ADAPTOR_XRD_FILE_H
virtual void resize(IOOffset size)
virtual IOSize readv(IOPosBuffer *into, IOSize buffers)
virtual void create(const char *name, bool exclusive=false, int perms=0666)
std::vector< Variable::Flags > flags
virtual bool prefetch(const IOPosBuffer *what, IOSize n)
virtual IOSize write(const void *from, IOSize n, IOOffset pos)
virtual IOOffset position(void) const
virtual IOSize readv(IOBuffer *into, IOSize n)
unsigned int offset(bool)
static std::string from(" from ")
virtual IOOffset size(void) const
virtual void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
virtual IOSize write(const void *from, IOSize n)