22 #ifndef OR_INTERNALS_IO_FILE_H_ 23 #define OR_INTERNALS_IO_FILE_H_ 26 #include <sys/types.h> 28 #include <libopenraw/io.h> 41 File(
const char *filename);
45 File &operator=(
const File &) =
delete;
49 virtual Error
open()
override;
51 virtual int close()
override;
53 virtual int seek(off_t offset,
int whence)
override;
55 virtual int read(
void *buf,
size_t count)
override;
56 virtual off_t filesize()
override;
CIFF is the container for CRW files. It is an attempt from Canon to make this a standard. I guess it failed.
virtual int read(void *buf, size_t count) override
virtual int close() override
File(const char *filename)
virtual int seek(off_t offset, int whence) override
virtual Error open() override
base virtual class for IO