#include <LuaObject.h>
|
| static void | CreateClass (const char *type, const char *parent, const luaL_Reg *methods, const luaL_Reg *attrs, const luaL_Reg *meta) |
| |
| static void | CreateClass (LuaMetaTypeBase *metaType) |
| |
| static bool | PushRegistered (LuaWrappable *o) |
| |
| static void | Register (LuaObjectBase *lo) |
| |
| static void | Deregister (LuaObjectBase *lo) |
| |
| static LuaWrappable * | CheckFromLua (int index, const char *type) |
| |
| static LuaWrappable * | GetFromLua (int index, const char *type) |
| |
| static void | RegisterPromotion (const char *base_type, const char *target_type, PromotionTest test_fn) |
| |
| static void | RegisterSerializer (const char *type, SerializerPair pair) |
| |
| static bool | Deserialize (const char *stream, const char **next) |
| |
| static bool | FromJson (const Json &obj) |
| |
| static void * | Allocate (size_t n) |
| |
◆ LuaObjectBase()
| LuaObjectBase::LuaObjectBase |
( |
const char * |
type | ) |
|
|
inlineprotected |
◆ ~LuaObjectBase()
| virtual LuaObjectBase::~LuaObjectBase |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ Allocate()
| void * LuaObjectBase::Allocate |
( |
size_t |
n | ) |
|
|
staticprotected |
◆ CheckFromLua()
| LuaWrappable * LuaObjectBase::CheckFromLua |
( |
int |
index, |
|
|
const char * |
type |
|
) |
| |
|
staticprotected |
◆ CreateClass() [1/2]
| void LuaObjectBase::CreateClass |
( |
const char * |
type, |
|
|
const char * |
parent, |
|
|
const luaL_Reg * |
methods, |
|
|
const luaL_Reg * |
attrs, |
|
|
const luaL_Reg * |
meta |
|
) |
| |
|
staticprotected |
◆ CreateClass() [2/2]
◆ CreateObject() [1/2]
| void LuaObjectBase::CreateObject |
( |
const luaL_Reg * |
methods, |
|
|
const luaL_Reg * |
attrs, |
|
|
const luaL_Reg * |
meta, |
|
|
bool |
protect = false |
|
) |
| |
|
static |
◆ CreateObject() [2/2]
◆ Deregister()
◆ Deserialize()
| bool LuaObjectBase::Deserialize |
( |
const char * |
stream, |
|
|
const char ** |
next |
|
) |
| |
|
staticprotected |
◆ FromJson()
| bool LuaObjectBase::FromJson |
( |
const Json & |
obj | ) |
|
|
staticprotected |
◆ GetFromLua()
| LuaWrappable * LuaObjectBase::GetFromLua |
( |
int |
index, |
|
|
const char * |
type |
|
) |
| |
|
staticprotected |
◆ GetObject()
◆ GetPropertiesFromObject()
| PropertyMap * LuaObjectBase::GetPropertiesFromObject |
( |
lua_State * |
l, |
|
|
int |
object |
|
) |
| |
|
static |
◆ GetType()
| const char* LuaObjectBase::GetType |
( |
| ) |
const |
|
inlineprotected |
◆ PushRegistered()
◆ Register()
◆ RegisterPromotion()
| void LuaObjectBase::RegisterPromotion |
( |
const char * |
base_type, |
|
|
const char * |
target_type, |
|
|
PromotionTest |
test_fn |
|
) |
| |
|
staticprotected |
◆ RegisterSerializer()
| void LuaObjectBase::RegisterSerializer |
( |
const char * |
type, |
|
|
SerializerPair |
pair |
|
) |
| |
|
staticprotected |
◆ Serialize()
| std::string LuaObjectBase::Serialize |
( |
| ) |
|
|
protected |
◆ ToJson()
| void LuaObjectBase::ToJson |
( |
Json & |
out | ) |
|
|
protected |
◆ LuaObjectHelpers
◆ LuaSerializer
The documentation for this class was generated from the following files: