|
| | LuaMetaType (const char *name) |
| |
| Self & | StartRecording () |
| |
| Self & | StopRecording () |
| |
| void | SetProtected (bool enabled) |
| |
| template<typename Dt > |
| Self & | AddMember (const char *name, member_pointer< T, Dt > t) |
| |
| Self & | AddMember (const char *name, member_cfunction< T > getter, member_cfunction< T > setter=nullptr) |
| |
| template<typename Dt , typename Dt2 = Dt> |
| Self & | AddMember (const char *name, const_member_function< T, Dt > getter, member_function< T, void, Dt2 > setter=nullptr) |
| |
| template<typename Dt , typename Dt2 = Dt> |
| Self & | AddMember (const char *name, member_function< T, Dt > getter, member_function< T, void, Dt2 > setter=nullptr) |
| |
| template<typename Rt , typename... Args> |
| Self & | AddFunction (const char *name, const_member_function< T, Rt, Args... > fn) |
| |
| template<typename Rt , typename... Args> |
| Self & | AddFunction (const char *name, member_function< T, Rt, Args... > fn) |
| |
| Self & | AddFunction (const char *name, member_cfunction< T > fn) |
| |
| Self & | AddFunction (const char *name, lua_CFunction func) |
| |
| template<typename Rt , typename... Args> |
| Self & | AddMeta (const char *name, const_member_function< T, Rt, Args... > fn) |
| |
| template<typename Rt , typename... Args> |
| Self & | AddMeta (const char *name, member_function< T, Rt, Args... > fn) |
| |
| Self & | AddMeta (const char *name, member_cfunction< T > fn) |
| |
| Self & | AddMeta (const char *name, lua_CFunction func) |
| |
| Self & | RegisterFuncs (const luaL_Reg *functions) |
| |
| Self & | AddCallCtor (lua_CFunction func) |
| |
| Self & | AddNewCtor (lua_CFunction func) |
| |
| | LuaMetaTypeBase (const char *name) |
| |
| void | CreateMetaType (lua_State *l) |
| |
| const char * | GetTypeName () const |
| |
| const char * | GetParent () const |
| |
| void | SetParent (const char *parent) |
| |
| void | GetMetatable () const |
| |
| bool | IsValid () const |
| |
| void | StartRecording () |
| |
| void | StopRecording () |
| |
|
| static void | GetNames (std::vector< std::string > &names, const std::string &prefix="", bool methodsOnly=false) |
| |
| static bool | GetMetatableFromName (lua_State *l, const char *name) |
| |
| static void * | TestUserdata (lua_State *l, int index, const char *name) |
| |
| static void * | CheckUserdata (lua_State *l, int index, const char *name) |
| |
| template<typename Rt , typename... Args> |
| using | free_function = Rt(*)(Args...) |
| |
| template<typename T , typename Dt > |
| using | member_pointer = Dt T::* |
| |
| template<typename T > |
| using | member_cfunction = int(*)(lua_State *, T *) |
| |
| template<typename T , typename Rt , typename... Args> |
| using | member_function = Rt(T::*)(Args...) |
| |
| template<typename T , typename Rt , typename... Args> |
| using | const_member_function = Rt(T::*)(Args...) const |
| |
| void | GetAttrTable (lua_State *L, int index) |
| |
| void | GetMethodTable (lua_State *L, int index) |
| |
| template<typename Rt , typename... Args> |
| static std::enable_if<!std::is_same< Rt, void >::value, int >::type | free_fn_wrapper_ (lua_State *L) |
| |
| template<typename Rt , typename... Args> |
| static std::enable_if< std::is_same< Rt, void >::value, int >::type | free_fn_wrapper_ (lua_State *L) |
| |
| template<typename T , typename Dt > |
| static int | member_wrapper_ (lua_State *L) |
| |
| template<typename T > |
| static int | member_cfn_wrapper_ (lua_State *L) |
| |
| template<typename T > |
| static int | getter_member_cfn_wrapper_ (lua_State *L) |
| |
| template<typename T , typename Rt , typename... Args> |
| static std::enable_if<!std::is_same< Rt, void >::value, int >::type | member_fn_wrapper_ (lua_State *L) |
| |
| template<typename T , typename Rt , typename... Args> |
| static std::enable_if< std::is_same< Rt, void >::value, int >::type | member_fn_wrapper_ (lua_State *L) |
| |
| template<typename T , typename Dt , typename Dt2 > |
| static int | getter_member_fn_wrapper_ (lua_State *L) |
| |
| template<typename MemT > |
| static void | PushPointerToMember (lua_State *L, MemT obj) |
| |
| template<typename MemT > |
| static MemT & | PullPointerToMember (lua_State *L, int idx) |
| |
| template<typename T > |
| static void | PushFreeFunction (lua_State *L, T obj) |
| |
| template<typename T > |
| static T | PullFreeFunction (lua_State *L, int index) |
| |
| std::string | m_typeName |
| |
| std::string | m_parent |
| |
| lua_State * | m_lua |
| |
| int | m_ref = LUA_NOREF |
| |
| int | m_index = 0 |
| |