libopenraw
|
#include <file.h>
Public Member Functions | |
File (const char *filename) | |
virtual Error | open () |
virtual int | close () |
virtual int | seek (off_t offset, int whence) |
virtual int | read (void *buf, size_t count) |
virtual off_t | filesize () |
OpenRaw::IO::File::File | ( | const char * | filename | ) |
int OpenRaw::IO::File::close | ( | ) | [virtual] |
File::Error OpenRaw::IO::File::open | ( | ) | [virtual] |
open the file
Implements OpenRaw::IO::Stream.
Definition at line 40 of file file.cpp.
References OpenRaw::IO::Stream::get_path().
int OpenRaw::IO::File::read | ( | void * | buf, |
size_t | count | ||
) | [virtual] |
read in the file. Semantics are similar to POSIX
Implements OpenRaw::IO::Stream.
int OpenRaw::IO::File::seek | ( | off_t | offset, |
int | whence | ||
) | [virtual] |
seek in the file. Semantics are similar to POSIX
Implements OpenRaw::IO::Stream.