MemStream Class Reference#include <memstream.h>
Inheritance diagram for MemStream:
[legend]List of all members.
Member Typedef Documentation
Constructor & Destructor Documentation
MemStream::MemStream |
( |
const U32 |
in_bufferSize, |
|
|
void * |
io_pBuffer = NULL , |
|
|
const bool |
in_allowRead = true , |
|
|
const bool |
in_allowWrite = true | |
|
) |
| | |
virtual MemStream::~MemStream |
( |
|
) |
[virtual] |
Member Function Documentation
bool MemStream::_read |
( |
const U32 |
in_numBytes, |
|
|
void * |
out_pBuffer | |
|
) |
| | [protected, virtual] |
bool MemStream::_write |
( |
const U32 |
in_numBytes, |
|
|
const void * |
in_pBuffer | |
|
) |
| | [protected, virtual] |
bool MemStream::hasCapability |
( |
const |
Capability |
) |
const |
U32 MemStream::getPosition |
( |
|
) |
const [virtual] |
Gets the position in the stream.
Implements Stream.
bool MemStream::setPosition |
( |
const U32 |
in_newPosition |
) |
[virtual] |
Sets the position of the stream. Returns if the new position is valid or not.
Implements Stream.
void* MemStream::getBuffer |
( |
|
) |
[inline] |
U32 MemStream::getStreamSize |
( |
|
) |
[virtual] |
Gets the size of the stream.
Implements Stream.
Member Data Documentation
|