ValueBase::List struct reference
[Base module]
Declaration
#include <QtLua/qtluavaluebase.hh>
namespace QtLua {
class ValueBase {
struct List;
};
};
This struct is a member of the ValueBase class.
Description
List of Value objects used for lua functions arguments and return values.
Members
Functions
- List()
- List(const ValueBase::List &vl)
- List(const Value &v1)
- List(const Value &v1, const Value &v2)
- List(const Value &v1, const Value &v2, const Value &v3)
- List(const Value &v1, const Value &v2, const Value &v3, const Value &v4)
- List(const Value &v1, const Value &v2, const Value &v3, const Value &v4, const Value &v5)
- List(const Value &v1, const Value &v2, const Value &v3, const Value &v4, const Value &v5, const Value &v6)
- List(const QList<Value> &list)
- template List(const State *ls, const QList<X> &list)
- template List(const State *ls, const QList<X>::const_iterator &begin, const QList<X>::const_iterator &end)
- template QList<X> to_qlist() const
- Value to_table(const State *ls) const
Static functions
Members detail
No documentation available
List(const ValueBase::List &vl)
No documentation available
List(const Value &v1)
Create value list with one Value object
Create value list with Value objects.
Create value list with Value objects.
Create value list with Value objects.
Create value list with Value objects.
List(const Value &v1, const Value &v2, const Value &v3, const Value &v4, const Value &v5, const Value &v6)
Create value list with Value objects.
Create value list from QList content
template <typename X> List(const State *ls, const QList<X>::const_iterator &begin, const QList<X>::const_iterator &end)
Create value list from QList content
template <typename X> QList<X> to_qlist() const
return a QList with all elements converted from lua values
static template <typename X> QList<X> to_qlist(const ValueBase::const_iterator &begin, const ValueBase::const_iterator &end)
return a QList with elements converted from lua values
return a lua table containing all values from list
static Value to_table(const State *ls, const ValueBase::const_iterator &begin, const ValueBase::const_iterator &end)
return a lua table containing values from list