Go to the documentation of this file.
92 if (_toHandle == p._toHandle)
96 _toHandle = p._toHandle;
112 operator T*()
const {
118 return _toHandle < p._toHandle;
123 return _toHandle == p._toHandle;
127 return _toHandle != p._toHandle;
136 return _toHandle != 0;
141 return _toHandle == 0;
147 return _toHandle->getRefCount();
174 QAtomicInt* _lRefCount;
int getRefCount(void) const
Reference< T > & operator=(const Reference< T > &p)
Definition: Handle.h:90
T & operator*() const
Definition: Handle.h:103
Reference< T > & operator=(T *p)
Definition: Handle.h:77
~Reference()
Definition: Handle.h:68
Reference(T *p)
Definition: Handle.h:52
int getRefCount(void) const
Get number of references on the object, including this one.
Definition: Handle.h:145
bool operator==(const Reference< T > &p) const
Definition: Handle.h:122
bool isValid(void) const
Test if it handles something.
Definition: Handle.h:135
bool operator!=(const Reference< T > &p) const
Definition: Handle.h:126
Reference()
Definition: Handle.h:49
bool operator<(const Reference< T > &p) const
Definition: Handle.h:117
T * operator->() const
Definition: Handle.h:108
bool isNull(void) const
Test if it does not handle anything.
Definition: Handle.h:140
Reference(const Reference< T > &p)
Definition: Handle.h:58
Definition: AbstractXMLReader.h:5