QLinkedListProxy class reference
[Container proxies module]

Declaration  

#include <QtLua/QLinkedListProxy>

namespace QtLua {
template <typename Container> class QLinkedListProxy;
};

This class is a member of the QtLua namespace.

This template class is declared in QtLua/qtluaqlinkedlistproxy.hh source file, line 47.

Description  

This template class may be used to iterate over an attached QLinkedList container object from lua script.

Containers may be attached and detached from the wrapper object to solve cases where we want to destroy the container when lua still holds references to the wrapper object. When no container is attached access will raise an error.

Members  

Inherited members  

Types  

Private type  

Functions  

Private function  

Private field  

Members detail  

QLinkedListProxy()  

This constructor is declared in QtLua/qtluaqlinkedlistproxy.hh source file, line 52.

Create a QListProxy object with no attached container

QLinkedListProxy(Container &list)  

This constructor is declared in QtLua/qtluaqlinkedlistproxy.hh source file, line 54.

Create a QListProxy object and attach given container

Container *_linkedlist  

This variable is declared in QtLua/qtluaqlinkedlistproxy.hh source file, line 89.

This member access is private.

typedef Ref<const QLinkedListProxy, QLinkedListProxy> const_ptr  

This typedef is declared in QTLUA_REFTYPE function like macro expansion, line 3 in QtLua/qtluaqlinkedlistproxy.hh source file, line 49.

Shortcut for Ref smart pointer class to QLinkedListProxy type provided for convenience

virtual String get_type_name() const  

This virtual function is declared in QtLua/qtluaqlinkedlistproxy.hh source file, line 64.

This member access is private.

This virtual function overrides the get_type_name virtual function defined in the UserData base class.

Documentation inherited from base class:

This function returns an object type name. The default implementation returns the C++ object type name. This is used for error messages and pretty printing.

The return value is Pretty print object type.

virtual Ref<Iterator> new_iterator(State *ls)  

This virtual function is declared in QtLua/qtluaqlinkedlistproxy.hh source file, line 59.

This virtual function overrides the new_iterator virtual function defined in the UserData base class.

Documentation inherited from base class:

This function may return an Iterator object used to iterate over an userdata object. The default implementation throws an error message. The UserData::support function must be reimplemented along with this function to report ValueBase::OpIterate as supported.

The return value is an Iterator based iterator object.

This typedef is declared in QTLUA_REFTYPE function like macro expansion, line 5 in QtLua/qtluaqlinkedlistproxy.hh source file, line 49.

Shortcut for Ref smart pointer class to QLinkedListProxy type provided for convenience

void set_container(Container *list)  

This function is declared in QtLua/qtluaqlinkedlistproxy.hh source file, line 57.

Attach or detach container. argument may be NULL

virtual bool support(ValueBase::Operation c) const  

This virtual function is declared in QtLua/qtluaqlinkedlistproxy.hh source file, line 60.

This virtual function overrides the support virtual function defined in the UserData base class.

Documentation inherited from base class:

Check given operation support.

See also ValueBase::support function.

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