OBufferDataSource Class Reference

#include <ODataSource.h>

Inheritance diagram for OBufferDataSource:

ODataSource List of all members.

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

uint8buf
uint8buf_ptr
uint32 size

Detailed Description

Definition at line 149 of file ODataSource.h.


Constructor & Destructor Documentation

OBufferDataSource::OBufferDataSource ( void *  data,
uint32  len 
) [inline]

Definition at line 156 of file ODataSource.h.

References buf, buf_ptr, and size.

virtual OBufferDataSource::~OBufferDataSource (  )  [inline, virtual]

Definition at line 170 of file ODataSource.h.


Member Function Documentation

virtual uint32 OBufferDataSource::getPos (  )  [inline, virtual]

Implements ODataSource.

Definition at line 224 of file ODataSource.h.

References buf, and buf_ptr.

virtual uint32 OBufferDataSource::getSize (  )  [inline, virtual]

Implements ODataSource.

Definition at line 222 of file ODataSource.h.

References size.

void OBufferDataSource::load ( char *  data,
uint32  len 
) [inline]

Definition at line 163 of file ODataSource.h.

References buf, buf_ptr, and size.

virtual void OBufferDataSource::seek ( uint32  pos  )  [inline, virtual]

Implements ODataSource.

Definition at line 218 of file ODataSource.h.

References buf, and buf_ptr.

virtual void OBufferDataSource::skip ( sint32  pos  )  [inline, virtual]

Implements ODataSource.

Definition at line 220 of file ODataSource.h.

References buf_ptr.

virtual void OBufferDataSource::write ( const void *  b,
uint32  len 
) [inline, virtual]

Implements ODataSource.

Definition at line 212 of file ODataSource.h.

References buf_ptr.

virtual void OBufferDataSource::write1 ( uint32  val  )  [inline, virtual]

Implements ODataSource.

Definition at line 172 of file ODataSource.h.

References buf_ptr.

virtual void OBufferDataSource::write2 ( uint16  val  )  [inline, virtual]

Implements ODataSource.

Definition at line 177 of file ODataSource.h.

References buf_ptr.

virtual void OBufferDataSource::write2high ( uint16  val  )  [inline, virtual]

Implements ODataSource.

Definition at line 183 of file ODataSource.h.

References buf_ptr.

virtual void OBufferDataSource::write3 ( uint32  val  )  [inline, virtual]

Implements ODataSource.

Definition at line 189 of file ODataSource.h.

References buf_ptr.

virtual void OBufferDataSource::write4 ( uint32  val  )  [inline, virtual]

Implements ODataSource.

Definition at line 196 of file ODataSource.h.

References buf_ptr.

virtual void OBufferDataSource::write4high ( uint32  val  )  [inline, virtual]

Implements ODataSource.

Definition at line 204 of file ODataSource.h.

References buf_ptr.


Member Data Documentation

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().


The documentation for this class was generated from the following file:
Generated on Fri Jul 27 22:29:42 2007 for pentagram by  doxygen 1.4.7