RefobjBase class reference
[Base module]

Declaration  

This class is for internal use only.

#include <QtLua/Ref>

namespace QtLua {
class RefobjBase;
};

This class is a member of the QtLua namespace.

This class is declared in QtLua/qtluaref.hh source file, line 361.

Description  

Referenced objects base class

Members  

Functions  

Protected functions  

Private constants  

Private field  

Members detail  

RefobjBase()  

This constructor is declared in QtLua/qtluaref.hh source file, line 380.

This member access is protected.

virtual ~RefobjBase()  

This virtual destructor is declared in QtLua/qtluaref.hh source file, line 375.

This member access is protected.

static const uintptr_t REF_DELEGATE  

This variable is declared in QtLua/qtluaref.hh source file, line 368.

This member access is private.

static const uintptr_t REF_DELETE  

This variable is declared in QtLua/qtluaref.hh source file, line 367.

This member access is private.

static const uintptr_t REF_MASK  

This variable is declared in QtLua/qtluaref.hh source file, line 370.

This member access is private.

static const uintptr_t REF_ONE  

This variable is declared in QtLua/qtluaref.hh source file, line 369.

This member access is private.

void ref_allocated()  

This function is declared in QtLua/qtluaref.hh source file, line 430.

This member access is protected.

int ref_count() const  

This function is declared in QtLua/qtluaref.hh source file, line 470.

Get object current reference count

void ref_delegate(RefobjBase *o)  

This function is declared in QtLua/qtluaref.hh source file, line 452.

This function set the passed object as references counter in place of this object. The reference counter of this object is disabled and all Ref pointing to this contribute to reference counter of specified object instead.

This function must be used when an object is instantiated as a member of an other object so that references to the member object are used to keep the container object alive.

bool ref_is_delegate() const  

This function is declared in QtLua/qtluaref.hh source file, line 462.

Check if RefobjBase::ref_delegate has been used on this object.

virtual void ref_single()  

This virtual function is declared in QtLua/qtluaref.hh source file, line 438.

This member access is protected.

This function is called when a dynamically allocated object has its reference count decreased to 1.

void _drop() const  

This function is for internal use only.

This function is declared in QtLua/qtluaref.hh source file, line 400.

This member access is protected.

void _inc() const  

This function is for internal use only.

This function is declared in QtLua/qtluaref.hh source file, line 385.

This member access is protected.

uintptr_t _state  

This variable is for internal use only.

This variable is declared in QtLua/qtluaref.hh source file, line 365.

This member access is private.

Reference counter value

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