Qt 4.8
|
#include <qscopedpointer_p.h>
Public Functions | |
T *& | data_ptr () |
bool | operator!= (const QCustomScopedPointer< T, Cleanup > &other) const |
bool | operator== (const QCustomScopedPointer< T, Cleanup > &other) const |
QCustomScopedPointer (T *p=0) | |
Public Functions inherited from QScopedPointer< T, Cleanup > | |
T * | data () const |
Returns the value of the pointer referenced by this object. More... | |
bool | isNull () const |
Returns true if this object is holding a pointer that is null . More... | |
operator bool () const | |
Returns true if this object is not null . More... | |
bool | operator! () const |
Returns true if the pointer referenced by this object is null , otherwise returns false . More... | |
T & | operator* () const |
Provides access to the scoped pointer's object. More... | |
T * | operator-> () const |
Provides access to the scoped pointer's object. More... | |
QScopedPointer (T *p=0) | |
Constructs this QScopedPointer instance and sets its pointer to p. More... | |
void | reset (T *other=0) |
Deletes the existing object it is pointing to if any, and sets its pointer to other. More... | |
void | swap (QScopedPointer< T, Cleanup > &other) |
Swap this pointer with other. More... | |
T * | take () |
Returns the value of the pointer referenced by this object. More... | |
~QScopedPointer () | |
Destroys this QScopedPointer object. More... | |
Additional Inherited Members | |
Public Types inherited from QScopedPointer< T, Cleanup > | |
typedef T * | pointer |
Protected Variables inherited from QScopedPointer< T, Cleanup > | |
T * | d |
Definition at line 66 of file qscopedpointer_p.h.
|
inlineexplicit |
Definition at line 69 of file qscopedpointer_p.h.
|
inline |
Definition at line 74 of file qscopedpointer_p.h.
|
inline |
Definition at line 84 of file qscopedpointer_p.h.
|
inline |
Definition at line 79 of file qscopedpointer_p.h.