Template wrapper class for using Serializer / Deserializer or their subclasses through SDL's RWOps structure.
More...
#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/IO/RWOpsWrapper.h>
|
| RWOpsWrapper (T &object) |
| Construct with object reference.
|
|
SDL_RWops * | GetRWOps () |
| Return the RWOps structure.
|
|
|
static Sint64 | Size (SDL_RWops *context) |
| Return data size of the object.
|
|
static Sint64 | Seek (SDL_RWops *context, Sint64 offset, int whence) |
| Seek within the object's data.
|
|
static int | Close (SDL_RWops *context) |
| Close the object. Only meaningful for files, no-op otherwise.
|
|
static size_t | Read (SDL_RWops *context, void *ptr, size_t size, size_t maxNum) |
| Read from the object. Return number of "packets" read.
|
|
static size_t | Write (SDL_RWops *context, const void *ptr, size_t size, size_t maxNum) |
| Write to the object. Return number of "packets" written.
|
|
|
SDL_RWops | ops_ |
| SDL RWOps structure associated with the object.
|
|
template<class T>
class Urho3D::RWOpsWrapper< T >
Template wrapper class for using Serializer / Deserializer or their subclasses through SDL's RWOps structure.
The documentation for this class was generated from the following file:
- /home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/IO/RWOpsWrapper.h