Stellarium 0.11.1
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure
Public Member Functions | Static Public Member Functions
QSharedPointerNoDelete< T > Class Template Reference

#include <StelObjectType.hpp>

List of all members.

Public Member Functions

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

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.