![]() |
VR-Forces Developer's Guide
|

Public Member Functions | |
| trpgMemReadBuffer (trpgEndian) | |
| virtual | ~trpgMemReadBuffer (void) override |
| virtual bool | isEmpty (void) override |
| void | SetLength (int) |
| int | GetLength (void) |
| char * | GetDataPtr (void) |
Public Member Functions inherited from trpgReadBuffer | |
| virtual | ~trpgReadBuffer (void) |
| virtual bool | Get (int32 &) |
| virtual bool | Get (int64 &) |
| virtual bool | Get (char *, int) |
| virtual bool | Get (std::string &) |
| virtual bool | Get (float32 &) |
| virtual bool | Get (float64 &) |
| virtual bool | Get (bool &) |
| virtual bool | Get (uint8 &) |
| virtual bool | Get (trpgToken &) |
| virtual bool | GetArray (int, float32 **) |
| virtual bool | GetArray (int, float64 **) |
| virtual bool | GetArray (int, int32 **) |
| virtual bool | GetArray (int, trpgColor **) |
| virtual bool | GetArray (int, char **) |
| virtual bool | Get (trpg2iPoint &) |
| virtual bool | Get (trpg2dPoint &) |
| virtual bool | Get (trpg3dPoint &) |
| virtual bool | Get (trpgColor &) |
| virtual bool | GetToken (trpgToken &, int32 &) |
| virtual void | PushLimit (int) |
| virtual void | PopLimit (void) |
| virtual bool | SkipToLimit (void) |
| virtual bool | TestLimit (int) |
Protected Member Functions | |
| virtual bool | GetData (char *, int) override |
| virtual bool | GetDataRef (char **, int) override |
| virtual bool | Skip (int) override |
Protected Member Functions inherited from trpgReadBuffer | |
| virtual void | UpdateLimits (int) |
Protected Attributes | |
| int | len |
| int | totLen |
| int | pos |
| char * | data |
Protected Attributes inherited from trpgReadBuffer | |
| trpgEndian | ness |
| trpgEndian | cpuNess |
| std::vector< int > | limits |
| trpgMemReadBuffer::trpgMemReadBuffer | ( | trpgEndian | ) |
Memory read buffers must be initialized with an endianness.
|
overridevirtual |
|
overridevirtual |
Return true if we're out of data.
Implements trpgReadBuffer.
| void trpgMemReadBuffer::SetLength | ( | int | ) |
Sets the size of this read buffer.
|
inline |
Gets the size of the buffer.
| char* trpgMemReadBuffer::GetDataPtr | ( | void | ) |
Endiannees of the CPU.
Implements trpgReadBuffer.
Retrieve the given amount of data.
Implements trpgReadBuffer.
Retrieve a pointer to the given array.
Implements trpgReadBuffer.
|
protected |
Skip over the given amount.
|
protected |
Data Length.
|
protected |
Total allocated length.
|
protected |
Current position.