ValueRef class reference
[Base module]
Declaration
#include <QtLua/ValueRef>
namespace QtLua {
class ValueRef;
};
This class is a member of the QtLua namespace.
This class is declared in QtLua/qtluavalueref.hh source file, line 45.
Description
This class acts as a reference to a lua value stored in a lua table (or userdata value). It stores two lua values: a table value along with a key value.
This is mainly used in the State, Value and ValueBase::iterator classes to allow modification of lua tables with the C++ square bracket operator functions.
Members
Inherited members
- 129 members inherited from ValueBase
Functions
- ValueRef(const Value &table, const Value &key)
- template ValueRef(const Value &table, const T &key)
- ValueRef(Value &&table, const Value &key)
- ValueRef(const Value &table, Value &&key)
- template ValueRef(Value &&table, const T &key)
- ValueRef(Value &&table, Value &&key)
- ValueRef(ValueRef &&ref)
- ValueRef(const ValueRef &ref)
- ~ValueRef()
- const Value & operator=(const Value &v) const
- Value operator=(ValueBase::Bool n) const
- Value operator=(double n) const
- Value operator=(float n) const
- Value operator=(int n) const
- Value operator=(unsigned int n) const
- Value operator=(const String &str) const
- Value operator=(const QString &str) const
- Value operator=(const char *str) const
- Value operator=(const Ref<UserData> &ud) const
- Value operator=(UserData *ud) const
- Value operator=(QObject *obj) const
- Value operator=(const QVariant &qv) const
- virtual Value value() const
Private functions
- void cleanup()
- void copy_key(double id)
- void copy_table(double id)
- void copy_table_key(double tid, double kid)
- const ValueRef & operator=(const ValueRef &v) const
- virtual void push_value(lua_State *st) const
- void table_set(const Value &v) const
Private fields
Members detail
This constructor is declared in QtLua/qtluavalueref.hh source file, line 51.
Construct reference with given table and key.
template <typename T> ValueRef(const Value &table, const T &key)
This template constructor is declared in QtLua/qtluavalueref.hh source file, line 55.
Construct reference with given table and key.
This constructor is declared in QtLua/qtluavalueref.hh source file, line 61.
Construct reference with given table and key.
This constructor is declared in QtLua/qtluavalueref.hh source file, line 63.
Construct reference with given table and key.
template <typename T> ValueRef(Value &&table, const T &key)
This template constructor is declared in QtLua/qtluavalueref.hh source file, line 66.
Construct reference with given table and key.
This constructor is declared in QtLua/qtluavalueref.hh source file, line 68.
Construct reference with given table and key.
ValueRef(ValueRef &&ref)
This constructor is declared in QtLua/qtluavalueref.hh source file, line 71.
ValueRef(const ValueRef &ref)
This constructor is declared in QtLua/qtluavalueref.hh source file, line 74.
This destructor is declared in QtLua/qtluavalueref.hh source file, line 57.
This variable is declared in QtLua/qtluavalueref.hh source file, line 110.
This member access is private.
This variable is declared in QtLua/qtluavalueref.hh source file, line 109.
This member access is private.
This function is declared in QtLua/qtluavalueref.hh source file, line 107.
This member access is private.
This function is declared in QtLua/qtluavalueref.hh source file, line 104.
This member access is private.
This function is declared in QtLua/qtluavalueref.hh source file, line 103.
This member access is private.
This function is declared in QtLua/qtluavalueref.hh source file, line 102.
This member access is private.
This function is declared in QtLua/qtluavalueref.hh source file, line 79.
Assign new value to referenced value.
This function is declared in QtLua/qtluavalueref.hh source file, line 81.
Assign new value to referenced value.
Value operator=(double n) const
This function is declared in QtLua/qtluavalueref.hh source file, line 83.
Assign new value to referenced value.
Value operator=(float n) const
This function is declared in QtLua/qtluavalueref.hh source file, line 84.
Assign new value to referenced value.
Value operator=(int n) const
This function is declared in QtLua/qtluavalueref.hh source file, line 85.
Assign new value to referenced value.
Value operator=(unsigned int n) const
This function is declared in QtLua/qtluavalueref.hh source file, line 86.
Assign new value to referenced value.
This function is declared in QtLua/qtluavalueref.hh source file, line 88.
Assign new value to referenced value.
This function is declared in QtLua/qtluavalueref.hh source file, line 89.
Assign new value to referenced value.
Value operator=(const char *str) const
This function is declared in QtLua/qtluavalueref.hh source file, line 90.
Assign new value to referenced value.
This function is declared in QtLua/qtluavalueref.hh source file, line 92.
Assign new value to referenced value.
This function is declared in QtLua/qtluavalueref.hh source file, line 93.
Assign new value to referenced value.
This function is declared in QtLua/qtluavalueref.hh source file, line 94.
Assign new value to referenced value.
This function is declared in QtLua/qtluavalueref.hh source file, line 95.
Assign new value to referenced value.
This function is declared in QtLua/qtluavalueref.hh source file, line 99.
This member access is private.
This virtual function is declared in QtLua/qtluavalueref.hh source file, line 106.
This member access is private.
This virtual function implements the push_value
pure function declared in the ValueBase
base abstract class for internal purposes.
void table_set(const Value &v) const
This function is declared in QtLua/qtluavalueref.hh source file, line 100.
This member access is private.