|
| gui_stream_memory (void *memory, long int size) |
|
virtual bool | good () |
|
virtual bool | eof () |
|
virtual long int | read (void *buffer, long int size) |
|
virtual long int | seek (long int position) |
|
virtual long int | tell () |
|
virtual long int | size () |
|
virtual long int | seek (long int offset, int origin) |
|
template<typename T > |
long int | read (T &object) |
|
std::string | readstring (long int size) |
|
◆ eof()
virtual bool pntk::gui_stream_memory::eof |
( |
| ) |
|
|
virtual |
Returns whether the stream has ended or not, based on abstract size() and tell() unless otherwise overriden.
Reimplemented from pntk::gui_stream.
◆ read()
virtual long int pntk::gui_stream_memory::read |
( |
void * |
buffer, |
|
|
long int |
size |
|
) |
| |
|
virtual |
Abstract reading which should be implemented by gui_stream derivatives. Returns number of bytes read.
Implements pntk::gui_stream.
◆ seek()
virtual long int pntk::gui_stream_memory::seek |
( |
long int |
position | ) |
|
|
virtual |
Abstract seeking which should be implemented by gui_stream derivatives. Returns new absolute location in bytes.
Implements pntk::gui_stream.
◆ size()
virtual long int pntk::gui_stream_memory::size |
( |
| ) |
|
|
virtual |
Abstract size which should be implemented by gui_stream derivatives. Returns size of buffer in bytes.
Implements pntk::gui_stream.
◆ tell()
virtual long int pntk::gui_stream_memory::tell |
( |
| ) |
|
|
virtual |
Abstract read which should be implemented by gui_stream derivatives. Returns absolutely location in bytes.
Implements pntk::gui_stream.
The documentation for this class was generated from the following file:
- include/gui_stream_memory.h