#include <datagear.h>
List of all members.
Public Member Functions |
| DataGear (lua_State *L) |
| ~DataGear () |
bool | GetData (DataID id) |
bool | SetData (DataID id) |
Static Public Member Functions |
static int | GenerateID (lua_State *L) |
| Generates a data ID. [-1,+1,-].
|
static int | DestroyID (lua_State *L) |
| Safely destroys a data ID. [-2,+0,-].
|
static int | WrapData (lua_State *L) |
| Safely wraps typed data to a data ID. [-4,+0,-].
|
template<class T > |
static int | WrapPrimitive (lua_State *L) |
| Safely wraps primitive data to a data ID. [-3,+0,-].
|
static int | UnwrapData (lua_State *L) |
| Safely unwraps typed data from a data ID. [-3,+1,-].
|
template<class T > |
static int | UnwrapPrimitive (lua_State *L) |
| Safely unwraps a primitive value from a data ID. [-2,+1,-].
|
static int | UnwrapList (lua_State *L) |
static int | UnwrapTable (lua_State *L) |
static int | Execute (lua_State *L) |
| Safely executes the object mapped by a data ID. [-4,+0,?].
|
static int | GetField (lua_State *L) |
| Safely gets the field of an object mapped by a data ID. [-4,+0,?].
|
static int | SetField (lua_State *L) |
| Safely sets the field of an object mapped by a data ID> [-4,+1,-].
|
static int | DoFile (lua_State *L) |
static int | DoString (lua_State *L) |
Constructor & Destructor Documentation
Member Function Documentation
Safely destroys a data ID. [-2,+0,-].
Safely executes the object mapped by a data ID. [-4,+0,?].
Lua arguments: [1] DataGear* - Data gear holding the data table. [2] DataID - ID of the lua function object. [3] DataBuffer* - Buffer of the arguments' IDs. [4] DataID - ID of a lua object to store the result.
Generates a data ID. [-1,+1,-].
Safely gets the field of an object mapped by a data ID. [-4,+0,?].
Lua arguments: [1] DataGear* - Data gear holding the data table. [2] DataID - ID of the lua container object. [3] DataBuffer* - buffer with the ID of the field's key. [4] DataID - ID of a lua object to store the field value.
Safely sets the field of an object mapped by a data ID> [-4,+1,-].
Lua arguments: [1] DataGear* - Data gear holding the data table. [2] DataID - ID of the lua container object. [3] DataBuffer* - buffer with the ID of the filed's key followed by the ID of its new value. [4] DataID - ID of a lua object to store the final field value.
Safely unwraps typed data from a data ID. [-3,+1,-].
Safely unwraps a primitive value from a data ID. [-2,+1,-].
Safely wraps typed data to a data ID. [-4,+0,-].
Safely wraps primitive data to a data ID. [-3,+0,-].
The documentation for this class was generated from the following files: