TableTreeKeys class reference
[Model/View module]
Declaration
This class is for internal use only.
#include <internal/TableTreeKeys>
namespace QtLua {
class TableTreeKeys;
};
This class is a member of the QtLua namespace.
This class is declared in internal/qtluatabletreekeys.hh source file, line 43.
Description
This class is used internally by the TableTreeModel class. It keeps lua tables display attributes and index list because native lua tables can not be accessed randomly using an integer index.
Members
Private type
- struct Entry
Private functions
- TableTreeKeys(const Value &val, TableTreeModel::Attributes attr)
- ~TableTreeKeys()
- void clear()
- size_t count() const
- const Value & get_key(int n) const
- Value get_value(int n) const
- bool is_table(int n) const
- void set_key(int n, const Value &key)
- TableTreeKeys * set_table(int n)
- void set_value(int n, const Value &value)
- void update()
Private fields
Members detail
TableTreeKeys(const Value &val, TableTreeModel::Attributes attr)
This constructor is declared in internal/qtluatabletreekeys.hh source file, line 46.
This member access is private.
This destructor is declared in internal/qtluatabletreekeys.hh source file, line 47.
This member access is private.
TableTreeModel::Attributes _attr
This variable is declared in internal/qtluatabletreekeys.hh source file, line 73.
This member access is private.
This variable is declared in internal/qtluatabletreekeys.hh source file, line 74.
This member access is private.
TableTreeKeys *_parent
This variable is declared in internal/qtluatabletreekeys.hh source file, line 71.
This member access is private.
This variable is declared in internal/qtluatabletreekeys.hh source file, line 72.
This member access is private.
Value _value
This variable is declared in internal/qtluatabletreekeys.hh source file, line 70.
This member access is private.
This function is declared in internal/qtluatabletreekeys.hh source file, line 58.
This member access is private.
This function is declared in internal/qtluatabletreekeys.hh source file, line 53.
This member access is private.
const Value & get_key(int n) const
This function is declared in internal/qtluatabletreekeys.hh source file, line 51.
This member access is private.
Value get_value(int n) const
This function is declared in internal/qtluatabletreekeys.hh source file, line 49.
This member access is private.
This function is declared in internal/qtluatabletreekeys.hh source file, line 54.
This member access is private.
void set_key(int n, const Value &key)
This function is declared in internal/qtluatabletreekeys.hh source file, line 52.
This member access is private.
TableTreeKeys * set_table(int n)
This function is declared in internal/qtluatabletreekeys.hh source file, line 56.
This member access is private.
void set_value(int n, const Value &value)
This function is declared in internal/qtluatabletreekeys.hh source file, line 50.
This member access is private.
This function is declared in internal/qtluatabletreekeys.hh source file, line 57.
This member access is private.