Lunar< T > Class Template Reference
#include <lunar.hpp>
List of all members.
Classes |
struct | RegType |
struct | userdataType |
Public Types |
typedef int(T::* | mfp )(lua_State *L) |
Static Public Member Functions |
static void | reg (lua_State *L) |
static int | call (lua_State *L, const char *method, int nargs=0, int nresults=LUA_MULTRET, int errfunc=0) |
static int | push (lua_State *L, T *obj, bool gc=false) |
static T * | check (lua_State *L, int narg) |
static T * | wide_check (lua_State *L, int narg) |
static T * | push_new (lua_State *L) |
Private Member Functions |
| Lunar () |
Static Private Member Functions |
static int | thunk (lua_State *L) |
static int | new_T (lua_State *L) |
static int | gc_T (lua_State *L) |
static int | tostring_T (lua_State *L) |
static void | set (lua_State *L, int table_index, const char *key) |
static void | weaktable (lua_State *L, const char *mode) |
static void | subtable (lua_State *L, int tindex, const char *name, const char *mode) |
static void * | pushuserdata (lua_State *L, void *key, size_t sz) |
Detailed Description
template<typename T>
class Lunar< T >
Definition at line 12 of file lunar.hpp.
Member Typedef Documentation
template<typename T >
typedef int(T::* Lunar< T >::mfp)(lua_State *L) |
Constructor & Destructor Documentation
Member Function Documentation
template<typename T >
static int Lunar< T >::call |
( |
lua_State * |
L, |
|
|
const char * |
method, |
|
|
int |
nargs = 0 , |
|
|
int |
nresults = LUA_MULTRET , |
|
|
int |
errfunc = 0 | |
|
) |
| | [inline, static] |
template<typename T >
static T* Lunar< T >::check |
( |
lua_State * |
L, |
|
|
int |
narg | |
|
) |
| | [inline, static] |
template<typename T >
static int Lunar< T >::gc_T |
( |
lua_State * |
L |
) |
[inline, static, private] |
template<typename T >
static int Lunar< T >::new_T |
( |
lua_State * |
L |
) |
[inline, static, private] |
template<typename T >
static int Lunar< T >::push |
( |
lua_State * |
L, |
|
|
T * |
obj, |
|
|
bool |
gc = false | |
|
) |
| | [inline, static] |
template<typename T >
static T* Lunar< T >::push_new |
( |
lua_State * |
L |
) |
[inline, static] |
template<typename T >
static void* Lunar< T >::pushuserdata |
( |
lua_State * |
L, |
|
|
void * |
key, |
|
|
size_t |
sz | |
|
) |
| | [inline, static, private] |
template<typename T >
static void Lunar< T >::reg |
( |
lua_State * |
L |
) |
[inline, static] |
template<typename T >
static void Lunar< T >::set |
( |
lua_State * |
L, |
|
|
int |
table_index, |
|
|
const char * |
key | |
|
) |
| | [inline, static, private] |
template<typename T >
static void Lunar< T >::subtable |
( |
lua_State * |
L, |
|
|
int |
tindex, |
|
|
const char * |
name, |
|
|
const char * |
mode | |
|
) |
| | [inline, static, private] |
template<typename T >
static int Lunar< T >::thunk |
( |
lua_State * |
L |
) |
[inline, static, private] |
template<typename T >
static int Lunar< T >::tostring_T |
( |
lua_State * |
L |
) |
[inline, static, private] |
template<typename T >
static void Lunar< T >::weaktable |
( |
lua_State * |
L, |
|
|
const char * |
mode | |
|
) |
| | [inline, static, private] |
template<typename T >
static T* Lunar< T >::wide_check |
( |
lua_State * |
L, |
|
|
int |
narg | |
|
) |
| | [inline, static] |
The documentation for this class was generated from the following file:
- D:/Programmation/Sources/luapp/include/lunar.hpp