Qt 4.8
|
#include <QtCore/qglobal.h>
Go to the source code of this file.
Classes | |
class | QScopedArrayPointer< T, Cleanup > |
The QScopedArrayPointer class stores a pointer to a dynamically allocated array of objects, and deletes it upon destruction. More... | |
class | QScopedPointer< T, Cleanup > |
The QScopedPointer class stores a pointer to a dynamically allocated object, and deletes it upon destruction. More... | |
struct | QScopedPointerArrayDeleter< T > |
struct | QScopedPointerDeleter< T > |
struct | QScopedPointerPodDeleter |
struct | QtPrivate::QScopedArrayEnsureSameType< X, Y > |
struct | QtPrivate::QScopedArrayEnsureSameType< const X, X > |
struct | QtPrivate::QScopedArrayEnsureSameType< X, X > |
Namespaces | |
QtPrivate | |
Functions | |
template<class T , class Cleanup > | |
bool | operator!= (const QScopedPointer< T, Cleanup > &lhs, const QScopedPointer< T, Cleanup > &rhs) |
Inequality operator. More... | |
template<class T , class Cleanup > | |
bool | operator== (const QScopedPointer< T, Cleanup > &lhs, const QScopedPointer< T, Cleanup > &rhs) |
Equality operator. More... | |
template<class T , class Cleanup > | |
Q_INLINE_TEMPLATE void | qSwap (QScopedPointer< T, Cleanup > &p1, QScopedPointer< T, Cleanup > &p2) |
template<class T , class Cleanup > | |
Q_INLINE_TEMPLATE void | std::swap (::QScopedPointer< T, Cleanup > &p1, ::QScopedPointer< T, Cleanup > &p2) |
|
inline |
Inequality operator.
Returns true if the scoped pointers lhs and rhs are not pointing to the same object. Otherwise returns false.
Definition at line 180 of file qscopedpointer.h.
|
inline |
Equality operator.
Returns true if the scoped pointers lhs and rhs are pointing to the same object. Otherwise returns false.
Definition at line 174 of file qscopedpointer.h.
Q_INLINE_TEMPLATE void qSwap | ( | QScopedPointer< T, Cleanup > & | p1, |
QScopedPointer< T, Cleanup > & | p2 | ||
) |
Definition at line 186 of file qscopedpointer.h.
Referenced by QScopedPointer< QXmlResultItemsPrivate >::swap().
Q_INLINE_TEMPLATE void std::swap | ( | ::QScopedPointer< T, Cleanup > & | p1, |
::QScopedPointer< T, Cleanup > & | p2 | ||
) |
Definition at line 193 of file qscopedpointer.h.
Referenced by std::swap().