25 #ifndef AURORA_LUA_TABLE_H 26 #define AURORA_LUA_TABLE_H 41 TableRef(lua_State &state,
int index);
165 #endif // AURORA_LUA_TABLE_H
bool getBooleanAt(int index) const
void setStringAt(int index, const char *value)
A class holding an UTF-8 string.
TableRef getTableAt(int index) const
float getFloatAt(int index) const
bool isUserTypeAt(int index, const Common::UString &type="") const
Check whether the value at the given index is a usertype value.
void setVariableAt(int index, const Variable &value)
Common::UString getExactType() const
const TableRef & operator=(const TableRef &table)
void setUserTypeAt(int index, void *value, const Common::UString &type)
Push a usertype value onto the stack.
FunctionRef getFunctionAt(int index) const
TableRef getMetaTable() const
bool isNumberAt(int index) const
void setFloatAt(int index, float value)
void setBooleanAt(int index, bool value)
T * getUserTypeAt(int index, const Common::UString &type="") const
bool isNilAt(int index) const
int getSize() const
Return the number of elements in the table.
std::vector< Variable > Variables
void setTableAt(int index, const TableRef &value)
void setFunctionAt(int index, const FunctionRef &value)
A reference to a Lua function.
bool isFunctionAt(int index) const
Variables getVariables() const
bool isMetaAccessEnabled() const
void setIntAt(int index, int value)
Common::UString getStringAt(int index) const
int getIntAt(int index) const
bool isTableAt(int index) const
lua_State & getLuaState() const
Return the underlying Lua state.
void * getRawUserTypeAt(int index, const Common::UString &type="") const
Return a usertype value at the given index in the stack.
A reference to a Lua table.
Common::UString getExactTypeAt(int index) const
lua_State * _luaState
The Lua state.
bool isStringAt(int index) const
bool isBooleanAt(int index) const
Type getTypeAt(int index) const
void setMetaAccessEnabled(bool enabled)
Enable/Disable access to the table elements using metamethods.
Variable getVariableAt(int index) const