#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 | RegisterPersistent (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 bool | SerializeToJson (lua_State *l, Json &out) |
| |
| static bool | DeserializeFromJson (lua_State *l, const Json &obj) |
| |
| static void * | Allocate (size_t n) |
| |
| template<typename T > |
| static T * | Allocate () |
| |
| template<typename T , typename... Args> |
| static T * | AllocateNew (Args &&...args) |
| |
◆ LuaObjectBase()
| LuaObjectBase::LuaObjectBase |
( |
const char * |
type | ) |
|
|
inlineprotected |
◆ ~LuaObjectBase()
| virtual LuaObjectBase::~LuaObjectBase |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ Allocate() [1/2]
template<typename T >
| static T * LuaObjectBase::Allocate |
( |
| ) |
|
|
inlinestaticprotected |
◆ Allocate() [2/2]
| void * LuaObjectBase::Allocate |
( |
size_t |
n | ) |
|
|
staticprotected |
◆ AllocateNew()
template<typename T , typename... Args>
| static T * LuaObjectBase::AllocateNew |
( |
Args &&... |
args | ) |
|
|
inlinestaticprotected |
◆ CheckFromLua()
| LuaWrappable * LuaObjectBase::CheckFromLua |
( |
int |
index, |
|
|
const char * |
type |
|
) |
| |
|
staticprotected |
◆ ClearObject()
| virtual void LuaObjectBase::ClearObject |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ 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]
◆ DeregisterObject()
| void LuaObjectBase::DeregisterObject |
( |
LuaWrappable * |
object | ) |
|
|
static |
◆ DeserializeComponents()
| bool LuaObjectBase::DeserializeComponents |
( |
LuaWrappable * |
object, |
|
|
const Json & |
obj |
|
) |
| |
|
static |
◆ DeserializeFromJson()
| bool LuaObjectBase::DeserializeFromJson |
( |
lua_State * |
l, |
|
|
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()
◆ RegisterPersistent()
◆ 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 |
|
) |
| |
|
static |
◆ SerializeComponents()
◆ SerializeToJson()
| bool LuaObjectBase::SerializeToJson |
( |
lua_State * |
l, |
|
|
Json & |
out |
|
) |
| |
|
staticprotected |
◆ LuaObjectHelpers
◆ LuaSerializer
The documentation for this class was generated from the following files: