#include <ODataSource.h>
Inheritance diagram for OBufferDataSource:
Public Member Functions | |
OBufferDataSource (void *data, uint32 len) | |
void | load (char *data, uint32 len) |
virtual | ~OBufferDataSource () |
virtual void | write1 (uint32 val) |
virtual void | write2 (uint16 val) |
virtual void | write2high (uint16 val) |
virtual void | write3 (uint32 val) |
virtual void | write4 (uint32 val) |
virtual void | write4high (uint32 val) |
virtual void | write (const void *b, uint32 len) |
virtual void | seek (uint32 pos) |
virtual void | skip (sint32 pos) |
virtual uint32 | getSize () |
virtual uint32 | getPos () |
Protected Attributes | |
uint8 * | buf |
uint8 * | buf_ptr |
uint32 | size |
Definition at line 149 of file ODataSource.h.
OBufferDataSource::OBufferDataSource | ( | void * | data, | |
uint32 | len | |||
) | [inline] |
virtual OBufferDataSource::~OBufferDataSource | ( | ) | [inline, virtual] |
Definition at line 170 of file ODataSource.h.
virtual uint32 OBufferDataSource::getPos | ( | ) | [inline, virtual] |
virtual uint32 OBufferDataSource::getSize | ( | ) | [inline, virtual] |
void OBufferDataSource::load | ( | char * | data, | |
uint32 | len | |||
) | [inline] |
virtual void OBufferDataSource::seek | ( | uint32 | pos | ) | [inline, virtual] |
virtual void OBufferDataSource::skip | ( | sint32 | pos | ) | [inline, virtual] |
virtual void OBufferDataSource::write | ( | const void * | b, | |
uint32 | len | |||
) | [inline, virtual] |
virtual void OBufferDataSource::write1 | ( | uint32 | val | ) | [inline, virtual] |
virtual void OBufferDataSource::write2 | ( | uint16 | val | ) | [inline, virtual] |
virtual void OBufferDataSource::write2high | ( | uint16 | val | ) | [inline, virtual] |
virtual void OBufferDataSource::write3 | ( | uint32 | val | ) | [inline, virtual] |
virtual void OBufferDataSource::write4 | ( | uint32 | val | ) | [inline, virtual] |
virtual void OBufferDataSource::write4high | ( | uint32 | val | ) | [inline, virtual] |
uint8* OBufferDataSource::buf [protected] |
Definition at line 152 of file ODataSource.h.
Referenced by getPos(), load(), OBufferDataSource(), and seek().
uint8* OBufferDataSource::buf_ptr [protected] |
Definition at line 153 of file ODataSource.h.
Referenced by getPos(), load(), OBufferDataSource(), seek(), skip(), write(), write1(), write2(), write2high(), write3(), write4(), and write4high().
uint32 OBufferDataSource::size [protected] |
Definition at line 154 of file ODataSource.h.
Referenced by getSize(), load(), and OBufferDataSource().