gatelib  2.1
Public Member Functions | Static Public Member Functions | List of all members
g::cont::ref< T > Class Template Reference
Inheritance diagram for g::cont::ref< T >:
g::cont::ref_custom< T > g::cont::ref_base< T >

Public Member Functions

 ref (const ref &other)
 
refoperator= (const ref &other)
 
template<class O >
 ref (const ref< O > &other)
 
template<class O >
refoperator= (const ref< O > &other)
 
template<class O >
bool tryRefTakeDynamically (ref< O > &o)
 
T & operator* ()
 
T * operator-> ()
 
const T & operator* () const
 
const T * operator-> () const
 
- Public Member Functions inherited from g::cont::ref_base< T >
bool operator== (const ref_base< T > &other) const
 
size_t getNumRefs () const
 
HeapAbstractgetHeapP () const
 
AllocationPolicyAbstractgetAllocPolicyP () const
 
bool isEmpty () const
 

Static Public Member Functions

static ref g_cont_new (AllocationPolicyAbstract *d_alloc_policy=AllocationPolicyAbstract::get_FromStandardPolicy())
 

Additional Inherited Members

- Protected Member Functions inherited from g::cont::ref_custom< T >
void mRefTake (const ref_custom &other)
 
template<class O >
void mRefTake (const ref_custom< O > &other)
 
template<class O >
bool mRefTakeTryDynamically (ref_base< O > &other)
 
T * mGetObjP ()
 
const T * mGetObjP () const
 
- Protected Member Functions inherited from g::cont::ref_base< T >
void * mAllocateMemForObject (AllocationPolicyAbstract *aDataAllocPolicy)
 
void mIncRef ()
 

The documentation for this class was generated from the following files: