1 #ifndef DCACHE_ADAPTOR_DCACHE_FILE_H
2 #define DCACHE_ADAPTOR_DCACHE_FILE_H
8 namespace edm::storage {
17 virtual void create(
const char *name,
bool exclusive =
false,
int perms = 0666);
18 virtual void create(
const std::string &name,
bool exclusive =
false,
int perms = 0666);
34 void close(
void)
override;
35 virtual void abort(
void);
43 #endif // DCACHE_ADAPTOR_DCACHE_FILE_H
void resize(IOOffset size) override
virtual IOOffset size() const
IOSize readv(IOBuffer *into, IOSize buffers) override
virtual void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
virtual IOOffset position() const
~DCacheFile(void) override
virtual void create(const char *name, bool exclusive=false, int perms=0666)
IOSize write(const void *from, IOSize n) override
void close(void) override
IOSize write(unsigned char byte)