#include <kfbxstream.h>
Currently it is only used for the Unload/Load of objects content when using the Peripheral objects.
Definition at line 49 of file kfbxstream.h.
Public Member Functions |
|
| virtual eStreamState | State () |
| Query the current state of the stream.
|
|
| virtual bool | Open () |
| Open the stream. |
|
| virtual bool | Close () |
| Close the stream. |
|
| virtual bool | Flush () |
| Empties the internal data of the stream.
|
|
| virtual int | Write (const void *pData, int pSize) |
| Writes a memory block. |
|
| virtual int | Read (void *pData, int pSize) const |
| Read bytes from the stream and store them in
the memory block. |
|
| virtual eStreamState State | ( | ) | [inline, virtual] |
Query the current state of the stream.
Definition at line 63 of file kfbxstream.h.
| virtual bool Open | ( | ) | [inline, virtual] |
| virtual bool Close | ( | ) | [inline, virtual] |
| virtual bool Flush | ( | ) | [inline, virtual] |
Empties the internal data of the stream.
Definition at line 78 of file kfbxstream.h.
| virtual int Write | ( | const void * | pData, | |
| int | pSize | |||
| ) | [inline, virtual] |
Writes a memory block.
| pData | Pointer to the memory block to write. | |
| pSize | Size (in bytes) of the memory block to write. |
Definition at line 85 of file kfbxstream.h.
| virtual int Read | ( | void * | pData, | |
| int | pSize | |||
| ) | const [inline, virtual] |
Read bytes from the stream and store them in the memory block.
| pData | Pointer to the memory block where the read bytes are stored. | |
| pSize | Number of bytes read from the stream. |
Definition at line 95 of file kfbxstream.h.