Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure
Public Member Functions | Static Public Member Functions

QSharedPointerNoDelete< T > Class Template Reference

Special version of QSharedPointer which by default doesn't delete the referenced pointer when the reference count reaches 0. More...

#include <StelObjectType.hpp>

List of all members.

Public Member Functions

 QSharedPointerNoDelete (T *ptr)
 QSharedPointerNoDelete (T *ptr, bool own)
 QSharedPointerNoDelete (const QSharedPointer< T > &ptr)
 operator const QSharedPointer< T > & () const

Static Public Member Functions

static void noDelete (T *ptr)

Detailed Description

template<class T>
class QSharedPointerNoDelete< T >

Special version of QSharedPointer which by default doesn't delete the referenced pointer when the reference count reaches 0.