295 inline operator T ()
const
369 return LuaRef (*
this) [key];
442 template <
class P1,
class P2>
452 template <
class P1,
class P2,
class P3>
463 template <
class P1,
class P2,
class P3,
class P4>
475 template <
class P1,
class P2,
class P3,
class P4,
class P5>
488 template <
class P1,
class P2,
class P3,
class P4,
class P5,
class P6>
502 template <
class P1,
class P2,
class P3,
class P4,
class P5,
class P6,
class P7>
517 template <
class P1,
class P2,
class P3,
class P4,
class P5,
class P6,
class P7,
class P8>
742 return std::string(str);
760 os << cast <lua_Number> ();
764 os << (cast <bool> () ?
"true" :
"false");
768 os <<
'"' << cast <std::string> () <<
'"';
788 os <<
"lightuserdata: " <<
tostring();
906 inline operator T ()
const
1037 template <
class P1,
class P2>
1047 template <
class P1,
class P2,
class P3>
1058 template <
class P1,
class P2,
class P3,
class P4>
1070 template <
class P1,
class P2,
class P3,
class P4,
class P5>
1083 template <
class P1,
class P2,
class P3,
class P4,
class P5,
class P6>
1097 template <
class P1,
class P2,
class P3,
class P4,
class P5,
class P6,
class P7>
1112 template <
class P1,
class P2,
class P3,
class P4,
class P5,
class P6,
class P7,
class P8>
1228 return lr.
cast<T>();
int get_length(lua_State *L, int idx)
bool equalstates(lua_State *L1, lua_State *L2)
T LuaRef_cast(LuaRef const &lr)
LuaRef newTable(lua_State *L)
std::ostream & operator<<(std::ostream &os, LuaRef const &ref)
LuaRef getGlobal(lua_State *L, char const *name)
static void pcall(lua_State *L, int nargs=0, int nresults=0, int msgh=0)
Proxy operator[](T key) const
bool operator==(T rhs) const
void push(lua_State *L) const
LuaRef rawget(T key) const
Proxy & clone_instance(const void *key, void *p)
Proxy(Proxy const &other)
bool operator>=(T rhs) const
bool operator<=(T rhs) const
bool isLightUserdata() const
bool operator>(T rhs) const
bool operator<(T rhs) const
bool rawequal(T rhs) const
lua_State * state() const
Proxy(lua_State *L, int tableRef)
LuaRef const operator()() const
StackPop(lua_State *L, int count)
static LuaRef fromStack(lua_State *L, int index)
static LuaRef newTable(lua_State *L)
LuaRef(lua_State *L, T v)
LuaRef const operator()() const
LuaRef(LuaRef const &other)
void print(std::ostream &os) const
void push(lua_State *L) const
bool operator>(T rhs) const
Proxy operator[](T key) const
LuaRef(lua_State *L, int index, FromStack)
bool rawequal(T rhs) const
bool isLightUserdata() const
bool operator<=(T rhs) const
bool operator==(T rhs) const
LuaRef & operator=(T rhs)
lua_State * state() const
bool operator>=(T rhs) const
LuaRef(lua_State *L, FromStack)
std::string tostring() const
bool operator<(T rhs) const
static LuaRef getGlobal(lua_State *L, char const *name)
GtkImageIconNameData name
int() luaL_ref(lua_State *L, int t)
void() luaL_unref(lua_State *L, int t, int ref)
int() lua_rawget(lua_State *L, int idx)
#define LUA_REGISTRYINDEX
void() lua_pushvalue(lua_State *L, int idx)
int() lua_rawequal(lua_State *L, int idx1, int idx2)
int() lua_rawgeti(lua_State *L, int idx, lua_Integer n)
int() lua_type(lua_State *L, int idx)
#define lua_remove(L, idx)
int() lua_compare(lua_State *L, int idx1, int idx2, int op)
#define lua_call(L, n, r)
#define LUA_TLIGHTUSERDATA
int() lua_gettop(lua_State *L)
void() lua_pushnil(lua_State *L)
int() lua_gettable(lua_State *L, int idx)
#define lua_tostring(L, i)
void() lua_rawset(lua_State *L, int idx)
void() lua_settable(lua_State *L, int idx)
int() lua_getglobal(lua_State *L, const char *name)
static LuaRef get(lua_State *L, int index)
static void push(lua_State *L, LuaRef const &v)
static void push(lua_State *L, LuaRef::Proxy const &v)
static void push(lua_State *L, Nil)