|
| template<typename Key > |
| const internal::TableAccessorPath< const Reference &, Key > | access (Key &&key) const |
| | Identical to operator[].
|
| |
| template<typename Type , typename Key > |
| Type | get (Key &&key) const |
| | Retrieve the value of a field.
|
| |
| template<typename Key > |
| bool | has (Key &&key) const |
| | Check if the value associated with a key is not nil.
|
| |
| template<typename Key > |
| const internal::TableAccessorPath< const Reference &, Key > | operator[] (Key &&key) const |
| | Create an accessor to a field of the table.
|
| |
| template<typename Type , typename Key > |
| void | set (Key &&key, Type &&value) const |
| | Update a field.
|
| |
| | Table (const Reference &ref) |
| | Create from reference.
|
| |
| | Table (State *state) |
| | Create a new table.
|
| |
| | Table (State *state, const MemberMap &fields) |
| | Create a new table with the given fields.
|
| |
| | Table (State *state, int index) |
| | Create from table on the stack. This will retain a reference to the table.
|
| |
| void | update (const MemberMap &fields) const |
| | Update the table using the given map of members.
|
| |
Allows you to inspect and modify Lua tables.