default implementation of a memory write stream
More...
#include <PxDefaultStreams.h>
default implementation of a memory write stream
- See also
- PxOutputStream
◆ PxDefaultMemoryOutputStream() [1/2]
◆ ~PxDefaultMemoryOutputStream()
virtual PxDefaultMemoryOutputStream::~PxDefaultMemoryOutputStream |
( |
| ) |
|
|
virtual |
◆ PxDefaultMemoryOutputStream() [2/2]
◆ getData()
virtual PxU8* PxDefaultMemoryOutputStream::getData |
( |
| ) |
const |
|
inlinevirtual |
◆ getSize()
virtual PxU32 PxDefaultMemoryOutputStream::getSize |
( |
| ) |
const |
|
inlinevirtual |
◆ operator=()
◆ write()
virtual PxU32 PxDefaultMemoryOutputStream::write |
( |
const void * |
src, |
|
|
PxU32 |
count |
|
) |
| |
|
virtual |
write to the stream. The number of bytes written may be less than the number sent.
- Parameters
-
[in] | src | the destination address from which the data will be written |
[in] | count | the number of bytes to be written |
- Returns
- the number of bytes written to the stream by this call.
Implements PxOutputStream.
◆ mAllocator
◆ mCapacity
PxU32 PxDefaultMemoryOutputStream::mCapacity |
|
private |
◆ mData
PxU8* PxDefaultMemoryOutputStream::mData |
|
private |
◆ mSize
PxU32 PxDefaultMemoryOutputStream::mSize |
|
private |
The documentation for this class was generated from the following file: