SimpleFastOpenAtomicVisualiser
|
Interop for a single-type Lua table. More...
#include <LuaTable.h>
Public Member Functions | |
LuaTable () | |
Construct an default table. | |
void | read (lua_State *lua, int index) |
Read the table from stack index index. | |
bool | readField (lua_State *lua, const char *name) |
Read the table from a table field. | |
bool | readGlobal (lua_State *lua, const char *name) |
Read the table from a global table field. | |
size_t | size () const |
LUA_TYPE & | operator[] (size_t i) |
operator std::vector< LUA_TYPE > () | |
Public Attributes | |
std::vector< LUA_TYPE > | data |
Interop for a single-type Lua table.
LUA_TYPE | the Lua type (which may be LuaTable |
|
inline |
Construct an default table.
Read the table from stack index index.
lua | the Lua context. |
index | the stack index. |
Read the table from a table field.
lua | the Lua context. |
name | the field name. |
Read the table from a global table field.
lua | the Lua context. |
name | the field name. |