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  

Functions  

Private functions  

Private fields  

Members detail  

ValueRef(const Value &table, const Value &key)  

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.

ValueRef(Value &&table, const Value &key)  

This constructor is declared in QtLua/qtluavalueref.hh source file, line 61.

Construct reference with given table and key.

ValueRef(const Value &table, Value &&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.

ValueRef(Value &&table, Value &&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.

~ValueRef()  

This destructor is declared in QtLua/qtluavalueref.hh source file, line 57.

double _key_id  

This variable is declared in QtLua/qtluavalueref.hh source file, line 110.

This member access is private.

double _table_id  

This variable is declared in QtLua/qtluavalueref.hh source file, line 109.

This member access is private.

void cleanup()  

This function is declared in QtLua/qtluavalueref.hh source file, line 107.

This member access is private.

void copy_key(double id)  

This function is declared in QtLua/qtluavalueref.hh source file, line 104.

This member access is private.

void copy_table(double id)  

This function is declared in QtLua/qtluavalueref.hh source file, line 103.

This member access is private.

void copy_table_key(double tid, double kid)  

This function is declared in QtLua/qtluavalueref.hh source file, line 102.

This member access is private.

const Value & operator=(const Value &v) const  

This function is declared in QtLua/qtluavalueref.hh source file, line 79.

Assign new value to referenced value.

Value operator=(ValueBase::Bool n) const  

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.

Value operator=(const String &str) const  

This function is declared in QtLua/qtluavalueref.hh source file, line 88.

Assign new value to referenced value.

Value operator=(const QString &str) const  

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.

Value operator=(const Ref<UserData> &ud) const  

This function is declared in QtLua/qtluavalueref.hh source file, line 92.

Assign new value to referenced value.

Value operator=(UserData *ud) const  

This function is declared in QtLua/qtluavalueref.hh source file, line 93.

Assign new value to referenced value.

Value operator=(QObject *obj) const  

This function is declared in QtLua/qtluavalueref.hh source file, line 94.

Assign new value to referenced value.

Value operator=(const QVariant &qv) const  

This function is declared in QtLua/qtluavalueref.hh source file, line 95.

Assign new value to referenced value.

const ValueRef & operator=(const ValueRef &v) const  

This function is declared in QtLua/qtluavalueref.hh source file, line 99.

This member access is private.

virtual void push_value(lua_State *st) const  

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.

virtual Value value() const  

This virtual function is declared in QtLua/qtluavalueref.hh source file, line 76.

This virtual function implements the value pure function declared in the ValueBase base abstract class for internal purposes.

Valid XHTML 1.0 StrictGenerated by diaxen on Sat Mar 30 16:23:03 2013 using MkDoc