#include <LuaMetaType.h>
|
| static void | GetNames (std::vector< std::string > &names, const std::string &prefix="", bool methodsOnly=false) |
| |
| static bool | GetMetatableFromName (lua_State *l, const char *name) |
| |
|
| template<typename T , typename Dt > |
| using | member_pointer = Dt T::* |
| |
| template<typename T > |
| using | free_function = 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 |
| |
|
| template<typename T , typename Dt > |
| static int | member_wrapper_ (lua_State *L) |
| |
| template<typename T > |
| static int | getter_member_wrapper_ (lua_State *L) |
| |
| template<typename T , typename Dt , typename Dt2 > |
| static int | getter_member_fn_wrapper_ (lua_State *L) |
| |
| template<typename T > |
| static int | 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 Rt , typename... Args> |
| static std::enable_if< std::is_same< Rt, void >::value, int >::type | 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, free_function< T > obj) |
| |
| template<typename T > |
| static free_function< T > | PullFreeFunction (lua_State *L, int index) |
| |
◆ const_member_function
template<typename T , typename Rt , typename... Args>
◆ free_function
◆ member_function
template<typename T , typename Rt , typename... Args>
◆ member_pointer
template<typename T , typename Dt >
◆ LuaMetaTypeBase()
| LuaMetaTypeBase::LuaMetaTypeBase |
( |
const char * |
name | ) |
|
|
inline |
◆ CreateMetaType()
| void LuaMetaTypeBase::CreateMetaType |
( |
lua_State * |
l | ) |
|
◆ fn_wrapper_()
template<typename T >
| static int LuaMetaTypeBase::fn_wrapper_ |
( |
lua_State * |
L | ) |
|
|
inlinestaticprotected |
◆ GetAttrTable()
| void LuaMetaTypeBase::GetAttrTable |
( |
lua_State * |
L, |
|
|
int |
index |
|
) |
| |
|
inlineprotected |
◆ GetMetatable()
| void LuaMetaTypeBase::GetMetatable |
( |
| ) |
const |
◆ GetMetatableFromName()
| bool LuaMetaTypeBase::GetMetatableFromName |
( |
lua_State * |
l, |
|
|
const char * |
name |
|
) |
| |
|
static |
◆ GetMethodTable()
| void LuaMetaTypeBase::GetMethodTable |
( |
lua_State * |
L, |
|
|
int |
index |
|
) |
| |
|
inlineprotected |
◆ GetNames()
| void LuaMetaTypeBase::GetNames |
( |
std::vector< std::string > & |
names, |
|
|
const std::string & |
prefix = "", |
|
|
bool |
methodsOnly = false |
|
) |
| |
|
static |
◆ GetParent()
| const char* LuaMetaTypeBase::GetParent |
( |
| ) |
const |
|
inline |
◆ getter_member_fn_wrapper_()
template<typename T , typename Dt , typename Dt2 >
| static int LuaMetaTypeBase::getter_member_fn_wrapper_ |
( |
lua_State * |
L | ) |
|
|
inlinestaticprotected |
◆ getter_member_wrapper_()
template<typename T >
| static int LuaMetaTypeBase::getter_member_wrapper_ |
( |
lua_State * |
L | ) |
|
|
inlinestaticprotected |
◆ GetTypeName()
| const char* LuaMetaTypeBase::GetTypeName |
( |
| ) |
const |
|
inline |
◆ IsValid()
| bool LuaMetaTypeBase::IsValid |
( |
| ) |
const |
|
inline |
◆ member_fn_wrapper_() [1/2]
template<typename T , typename Rt , typename... Args>
| static std::enable_if<!std::is_same<Rt, void>::value, int>::type LuaMetaTypeBase::member_fn_wrapper_ |
( |
lua_State * |
L | ) |
|
|
inlinestaticprotected |
◆ member_fn_wrapper_() [2/2]
template<typename T , typename Rt , typename... Args>
| static std::enable_if<std::is_same<Rt, void>::value, int>::type LuaMetaTypeBase::member_fn_wrapper_ |
( |
lua_State * |
L | ) |
|
|
inlinestaticprotected |
◆ member_wrapper_()
template<typename T , typename Dt >
| static int LuaMetaTypeBase::member_wrapper_ |
( |
lua_State * |
L | ) |
|
|
inlinestaticprotected |
◆ PullFreeFunction()
template<typename T >
| static free_function<T> LuaMetaTypeBase::PullFreeFunction |
( |
lua_State * |
L, |
|
|
int |
index |
|
) |
| |
|
inlinestaticprotected |
◆ PullPointerToMember()
template<typename MemT >
| static MemT& LuaMetaTypeBase::PullPointerToMember |
( |
lua_State * |
L, |
|
|
int |
idx |
|
) |
| |
|
inlinestaticprotected |
◆ PushFreeFunction()
template<typename T >
| static void LuaMetaTypeBase::PushFreeFunction |
( |
lua_State * |
L, |
|
|
free_function< T > |
obj |
|
) |
| |
|
inlinestaticprotected |
◆ PushPointerToMember()
template<typename MemT >
| static void LuaMetaTypeBase::PushPointerToMember |
( |
lua_State * |
L, |
|
|
MemT |
obj |
|
) |
| |
|
inlinestaticprotected |
◆ SetParent()
| void LuaMetaTypeBase::SetParent |
( |
const char * |
parent | ) |
|
|
inline |
◆ StartRecording()
| void LuaMetaTypeBase::StartRecording |
( |
| ) |
|
|
inline |
◆ StopRecording()
| void LuaMetaTypeBase::StopRecording |
( |
| ) |
|
|
inline |
◆ m_index
| int LuaMetaTypeBase::m_index = 0 |
|
protected |
◆ m_lua
| lua_State* LuaMetaTypeBase::m_lua |
|
protected |
◆ m_parent
| std::string LuaMetaTypeBase::m_parent |
|
protected |
◆ m_ref
| int LuaMetaTypeBase::m_ref = LUA_NOREF |
|
protected |
◆ m_typeName
| std::string LuaMetaTypeBase::m_typeName |
|
protected |
The documentation for this class was generated from the following files: