This is the documentation for Enlighten.
class Geo GeoRefReleasePtr
template<class>
class Geo::GeoRefReleasePtr
└>Geo::GeoRefPtr< T, Geo::GeoReleaseDestructor< T > >
└>Geo::GeoReleaseDestructor< T >
Given the lack of a template typedef, and how common it is to want a GeoRefPtr with Release dtor, adding a new class to provide this destruction policy by default.
Functions
Name | Description |
|---|---|
Destructor - Delete the internal object. | |
How many pointers share this resource? | |
Handle reduction of the reference count. | |
Increase ownership of the payload of other GeoRefPtr, given a different contained type Theoretically could write a destruction policy that accepted matches to other policies, but none implemented to date. | |
Increase ownership of the payload of other GeoRefPtr. | |
Move constructor. | |
Take ownership of the raw ptr. Explicit so that you don't unknowingly change ownership. | |
Take ownership of the raw-ptr obj. Explicit so that you don't unknowingly change ownership. | |
Increase ownership of the payload of other GeoRefReleasePtr, but do not add reference count. | |
Increase ownership of the payload of other GeoRefReleasePtr, but do not add reference count. | |
Explicitely return the contained type. | |
Handle increase of the reference count. | |
Is the object valid? | |
Convert to GeoRefPtr of compatible type. | |
Equivalence/comparison tests. | |
Allow dereferencing of the contained type. | |
Allow array referencing of the contained type. | |
Equivalence/comparison tests. | |
Move assignment operator. | |
Support assignment (modifying other object) | |
Equivalence/comparison tests. | |
Equivalence/comparison tests. | |
Access members of the owned object. | |
Hold new object, reducing count of current (possibly deleting) | |
Is the object unique? |
Geo::GeoRefPtr< T, D >::~GeoRefPtr
public: ~GeoRefPtr()
Destructor - Delete the internal object.
Geo::s32 Geo::GeoRefPtr< T, D >::Count
public: Geo::s32 Count() const