base virtual class for IO
More...
#include <stream.hpp>
base virtual class for IO
Definition at line 41 of file stream.hpp.
◆ Error
typedef ::or_error OpenRaw::IO::Stream::Error |
◆ Ptr
typedef std::shared_ptr<Stream> OpenRaw::IO::Stream::Ptr |
◆ Stream()
OpenRaw::IO::Stream::Stream |
( |
const char * | filename | ) |
|
◆ ~Stream()
OpenRaw::IO::Stream::~Stream |
( |
| ) |
|
|
virtual |
◆ close()
virtual int OpenRaw::IO::Stream::close |
( |
| ) |
|
|
pure virtual |
◆ get_error()
Error OpenRaw::IO::Stream::get_error |
( |
| ) |
|
|
inline |
◆ get_path()
const std::string & OpenRaw::IO::Stream::get_path |
( |
| ) |
const |
|
inline |
◆ open()
virtual Error OpenRaw::IO::Stream::open |
( |
| ) |
|
|
pure virtual |
◆ read()
virtual int OpenRaw::IO::Stream::read |
( |
void * | buf, |
|
|
size_t | count ) |
|
pure virtual |
◆ readByte()
uint8_t OpenRaw::IO::Stream::readByte |
( |
| ) |
|
◆ seek()
virtual int OpenRaw::IO::Stream::seek |
( |
off_t | offset, |
|
|
int | whence ) |
|
pure virtual |
◆ set_error()
void OpenRaw::IO::Stream::set_error |
( |
Error | error | ) |
|
|
inlineprotected |
The documentation for this class was generated from the following files: