The Vish Visualization Shell 0.3
Vish
Public Member Functions | List of all members
MemCore::OmegaRef< RefCountable > Struct Template Reference

Omega Pointer to a refcountable object which automatically destroys the object pointed to no matter how many strong references still exist to it. More...

#include <elementary/memcore/OmegaPtr.hpp>

Inheritance diagram for MemCore::OmegaRef< RefCountable >:
MemCore::OmegaPtr< RefCountable > MemCore::StrongPtr< Object, ObjectBase >

Public Member Functions

 OmegaRef ()
 Construct with object created from default constructor.
 
template<typename A >
 OmegaRef (const A &a)
 Construct with object created from one parameters.
 
template<typename A , typename B >
 OmegaRef (const A &a, const B &b)
 Construct with object created from two parameters.
 
template<typename A , typename B , typename C >
 OmegaRef (const A &a, const B &b, const C &c)
 Construct with object created from three parameters.
 
template<typename A , typename B , typename C , typename D >
 OmegaRef (const A &a, const B &b, const C &c, const D &d)
 Construct with object created from four parameters.
 
template<typename A , typename B , typename C , typename D , typename E >
 OmegaRef (const A &a, const B &b, const C &c, const D &d, const E &e)
 Construct with object created from five parameters.
 
template<typename A , typename B , typename C , typename D , typename E , typename F >
 OmegaRef (const A &a, const B &b, const C &c, const D &d, const E &e, const F &f)
 Construct with object created from six parameters.
 
 OmegaRef (const RefPtr< RefCountable > &RC)
 Construct with object reference to by an reference pointer.
 
 OmegaRef (RefCountable *RC)
 Construct with newly allocated object.
 
OmegaRefoperator= (const RefPtr< RefCountable > &RC)
 Assign from reference pointer.
 
OmegaRefoperator= (RefCountable *RC)
 Assign from newly allocated object.
 
 ~OmegaRef ()
 Destructor.
 
- Public Member Functions inherited from MemCore::OmegaPtr< RefCountable >
 OmegaPtr (const WeakPtr< RefCountable > &Obj)
 Construct from weak pointer.
 
 OmegaPtr (RefCountable *Obj, const NotNullPtr &)
 Construct from strong pointer.
 
 ~OmegaPtr ()
 Destructor, destructs the object itself, disregarding how many ref pointers still refer to it.
 

Additional Inherited Members

Detailed Description

template<class RefCountable>
struct MemCore::OmegaRef< RefCountable >

Omega Pointer to a refcountable object which automatically destroys the object pointed to no matter how many strong references still exist to it.