UGDK
|
#include <state.h>
Public Member Functions | |
State (lua_State *L) | |
operator bool () const | |
operator lua_State * () const | |
void | close () |
AuxLib & | aux () |
int | gettop () const |
void | settop (int index) |
void | pushvalue (int index) |
void | pushnil () |
void | pushboolean (bool b) |
void | pushinteger (lua_Integer integer) |
void | pushnumber (lua_Number number) |
void | pushudata (UData ptr) |
void | pushstring (const char *str) |
void | pushcfunction (lua_CFunction func, int n=0) |
template<class T > | |
void | pushudata (T *value) |
template<class T > | |
void | pushprimitive (T value) |
void | pop (int n) |
void | insert (int index) |
void | remove (int index) |
void | newtable () |
void | getglobal (const char *name) |
void | getfield (int index, const char *k) |
void | setfield (int index, const char *k) |
void | gettable (int index) |
void | settable (int index) |
void | rawgeti (int index, int n) |
void | rawseti (int index, int n) |
int | setfenv (int index) |
void | getfenv (int index) |
int | getmetatable (int index) |
int | setmetatable (int index) |
template<class T > | |
bool | isprimitive (int index) const |
bool | isnil (int index) const |
bool | isstring (int index) const |
bool | isfunction (int index) const |
bool | istable (int index) const |
template<class T > | |
T | toprimitive (int n) const |
bool | toboolean (int n) const |
lua_Integer | tointeger (int n) const |
const char * | tostring (int n) const |
void * | touserdata (int n) const |
int | type (int n) const |
void | call (int nargs, int nres) |
const Constant | pcall (int nargs, int nres, int errfunc) |
int | gc (Constant what, int data) |
ugdk::script::lua::State::State | ( | lua_State * | L | ) | [inline] |
AuxLib& ugdk::script::lua::State::aux | ( | ) | [inline] |
void ugdk::script::lua::State::call | ( | int | nargs, |
int | nres | ||
) | [inline] |
void ugdk::script::lua::State::close | ( | ) | [inline] |
int ugdk::script::lua::State::gc | ( | Constant | what, |
int | data | ||
) | [inline] |
void ugdk::script::lua::State::getfenv | ( | int | index | ) | [inline] |
void ugdk::script::lua::State::getfield | ( | int | index, |
const char * | k | ||
) | [inline] |
void ugdk::script::lua::State::getglobal | ( | const char * | name | ) | [inline] |
int ugdk::script::lua::State::getmetatable | ( | int | index | ) | [inline] |
void ugdk::script::lua::State::gettable | ( | int | index | ) | [inline] |
int ugdk::script::lua::State::gettop | ( | ) | const [inline] |
void ugdk::script::lua::State::insert | ( | int | index | ) | [inline] |
bool ugdk::script::lua::State::isfunction | ( | int | index | ) | const [inline] |
bool ugdk::script::lua::State::isnil | ( | int | index | ) | const [inline] |
bool ugdk::script::lua::State::isprimitive | ( | int | index | ) | const [inline] |
bool ugdk::script::lua::State::isstring | ( | int | index | ) | const [inline] |
bool ugdk::script::lua::State::istable | ( | int | index | ) | const [inline] |
void ugdk::script::lua::State::newtable | ( | ) | [inline] |
ugdk::script::lua::State::operator bool | ( | ) | const [inline] |
ugdk::script::lua::State::operator lua_State * | ( | ) | const [inline] |
const Constant ugdk::script::lua::State::pcall | ( | int | nargs, |
int | nres, | ||
int | errfunc | ||
) | [inline] |
void ugdk::script::lua::State::pop | ( | int | n | ) | [inline] |
void ugdk::script::lua::State::pushboolean | ( | bool | b | ) | [inline] |
void ugdk::script::lua::State::pushcfunction | ( | lua_CFunction | func, |
int | n = 0 |
||
) | [inline] |
void ugdk::script::lua::State::pushinteger | ( | lua_Integer | integer | ) | [inline] |
void ugdk::script::lua::State::pushnil | ( | ) | [inline] |
void ugdk::script::lua::State::pushnumber | ( | lua_Number | number | ) | [inline] |
void ugdk::script::lua::State::pushprimitive | ( | T | value | ) | [inline] |
void ugdk::script::lua::State::pushstring | ( | const char * | str | ) | [inline] |
void ugdk::script::lua::State::pushudata | ( | UData | ptr | ) | [inline] |
void ugdk::script::lua::State::pushudata | ( | T * | value | ) | [inline] |
void ugdk::script::lua::State::pushvalue | ( | int | index | ) | [inline] |
void ugdk::script::lua::State::rawgeti | ( | int | index, |
int | n | ||
) | [inline] |
void ugdk::script::lua::State::rawseti | ( | int | index, |
int | n | ||
) | [inline] |
void ugdk::script::lua::State::remove | ( | int | index | ) | [inline] |
int ugdk::script::lua::State::setfenv | ( | int | index | ) | [inline] |
void ugdk::script::lua::State::setfield | ( | int | index, |
const char * | k | ||
) | [inline] |
int ugdk::script::lua::State::setmetatable | ( | int | index | ) | [inline] |
void ugdk::script::lua::State::settable | ( | int | index | ) | [inline] |
void ugdk::script::lua::State::settop | ( | int | index | ) | [inline] |
bool ugdk::script::lua::State::toboolean | ( | int | n | ) | const [inline] |
lua_Integer ugdk::script::lua::State::tointeger | ( | int | n | ) | const [inline] |
T ugdk::script::lua::State::toprimitive | ( | int | n | ) | const [inline] |
const char* ugdk::script::lua::State::tostring | ( | int | n | ) | const [inline] |
void* ugdk::script::lua::State::touserdata | ( | int | n | ) | const [inline] |
int ugdk::script::lua::State::type | ( | int | n | ) | const [inline] |