#include <PxDefaultStreams.h>
Public Member Functions | |
PxDefaultMemoryOutputStream (PxAllocatorCallback &allocator=PxGetFoundation().getAllocatorCallback()) | |
virtual | ~PxDefaultMemoryOutputStream () |
virtual PxU32 | write (const void *src, PxU32 count) |
write to the stream. The number of bytes written may be less than the number sent. | |
virtual PxU32 | getSize () const |
virtual PxU8 * | getData () const |
Private Member Functions | |
PxDefaultMemoryOutputStream (const PxDefaultMemoryOutputStream &) | |
PxDefaultMemoryOutputStream & | operator= (const PxDefaultMemoryOutputStream &) |
Private Attributes | |
PxAllocatorCallback & | mAllocator |
PxU8 * | mData |
PxU32 | mSize |
PxU32 | mCapacity |
PxDefaultMemoryOutputStream::PxDefaultMemoryOutputStream | ( | PxAllocatorCallback & | allocator = PxGetFoundation().getAllocatorCallback() |
) |
virtual PxDefaultMemoryOutputStream::~PxDefaultMemoryOutputStream | ( | ) | [virtual] |
PxDefaultMemoryOutputStream::PxDefaultMemoryOutputStream | ( | const PxDefaultMemoryOutputStream & | ) | [private] |
virtual PxU8* PxDefaultMemoryOutputStream::getData | ( | ) | const [inline, virtual] |
virtual PxU32 PxDefaultMemoryOutputStream::getSize | ( | ) | const [inline, virtual] |
PxDefaultMemoryOutputStream& PxDefaultMemoryOutputStream::operator= | ( | const PxDefaultMemoryOutputStream & | ) | [private] |
write to the stream. The number of bytes written may be less than the number sent.
[in] | src | the destination address from which the data will be written |
[in] | count | the number of bytes to be written |
Implements PxOutputStream.
PxU32 PxDefaultMemoryOutputStream::mCapacity [private] |
PxU8* PxDefaultMemoryOutputStream::mData [private] |
PxU32 PxDefaultMemoryOutputStream::mSize [private] |