This is the documentation for Enlighten.
class Geo GeoIntrusivePtr
template<typename T>
class Geo::GeoIntrusivePtr
A value type to take ownership of a raw object allocated on the heap and handle calling AddRef() and Release().
Functions
Name | Description |
|---|---|
Destructor - Delete the internal object. | |
Explicitly delete the internal object. | |
Return the object to the client. | |
Constructor to take ownership of the raw-ptr obj. Explicit so that you don't unknowingly change ownership. | |
Construct from existing GeoIntrusivePtr, incrementing the reference count. | |
Add a reference to the payload of other Geo::GeoIntrusivePtr, as long as the pointers are compatible. | |
Explicitly return the contained type. | |
Is the object valid? | |
Equivalence/comparison tests. | |
Allow dereferencing of the contained type. | |
Equivalence/comparison tests. | |
Assignment. | |
Equivalence/comparison tests. | |
Equivalence/comparison tests. | |
Access members of the owned object. | |
Hold new object, releasing current. |
Geo::GeoIntrusivePtr< T >::~GeoIntrusivePtr
public: ~GeoIntrusivePtr()
Destructor - Delete the internal object.
void Geo::GeoIntrusivePtr< T >::Delete
public: void Delete()
Explicitly delete the internal object.
T* Geo::GeoIntrusivePtr< T >::Detach
public: T * Detach()
Return the object to the client.
From then on its the client's responsibility to release it.
Geo::GeoIntrusivePtr< T >::GeoIntrusivePtr
public: GeoIntrusivePtr
(
T * obj
)