![]() |
VR-Forces 4.3.1 Class Documentation
|

Public Member Functions | |
| trpgMemReadBuffer (trpgEndian) | |
| Memory read buffers must be initialized with an endianness. | |
| ~trpgMemReadBuffer (void) | |
| bool | isEmpty (void) |
| Return true if we're out of data. | |
| void | SetLength (int) |
| Sets the size of this read buffer. | |
| int | GetLength (void) |
| Gets the size of the buffer. | |
| 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) |
| MD: making this public to unravel trpgModel read problem. | |
Protected Member Functions | |
| bool | GetData (char *, int) |
| Endiannees of the CPU. | |
| bool | GetDataRef (char **, int) |
| Retrieve the given amount of data. | |
| bool | Skip (int) |
| Retrieve a pointer to the given array. | |
Protected Member Functions inherited from trpgReadBuffer | |
| virtual void | UpdateLimits (int) |
Protected Attributes | |
| int | len |
| Skip over the given amount. | |
| int | totLen |
| Data Length. | |
| int | pos |
| Total allocated length. | |
| char * | data |
| Current position. | |
Protected Attributes inherited from trpgReadBuffer | |
| trpgEndian | ness |
| trpgEndian | cpuNess |
| Endianness of the source we're reading. | |
| std::vector< int > | limits |
| trpgMemReadBuffer::trpgMemReadBuffer | ( | trpgEndian | ) |
Memory read buffers must be initialized with an endianness.
| trpgMemReadBuffer::~trpgMemReadBuffer | ( | void | ) |
|
virtual |
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.