#include <file.h>
|
| | 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 () |
| |
| | Stream (const char *filename) |
| |
|
Error | get_error () |
| |
| const std::string & | get_path () const |
| |
|
uint8_t | readByte () throw (Internals::IOException) |
| |
|
| typedef ::or_error | Error |
| |
|
void | set_error (Error error) |
| |
file IO stream
Definition at line 39 of file file.h.
◆ File()
| OpenRaw::IO::File::File |
( |
const char * |
filename | ) |
|
Contruct the file
- Parameters
-
| filename | the full pathname for the file |
Definition at line 29 of file file.cpp.
◆ close()
| int OpenRaw::IO::File::close |
( |
| ) |
|
|
virtual |
◆ open()
◆ read()
| int OpenRaw::IO::File::read |
( |
void * |
buf, |
|
|
size_t |
count |
|
) |
| |
|
virtual |
◆ seek()
| int OpenRaw::IO::File::seek |
( |
off_t |
offset, |
|
|
int |
whence |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following files: