Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ixion::dynamic_ref Class Template Reference

#include <ixlib_garbage.hh>

Inheritance diagram for ixion::dynamic_ref::

ixion::ref_base List of all members.

Public Methods

 dynamic_ref (dynamic_ref const &src)
 dynamic_ref (reference_manager< T > &mgr, T *instance=NULL)
 ~dynamic_ref ()
dynamic_ref & operator= (dynamic_ref const &src)
dynamic_ref & operator= (T *ptr)
void release ()
void set (T *instance)
T * releaseFromGCArena ()

Protected Attributes

reference_manager< T > & Manager

Detailed Description

template<class T>
class ixion::dynamic_ref< T >

An object that acts like a reference-counted pointer to an object. The corresponding reference_manager is identified explicitly.

Definition at line 261 of file ixlib_garbage.hh.


Constructor & Destructor Documentation

template<class T>
ixion::dynamic_ref< T >::dynamic_ref dynamic_ref< T > const &    src [inline]
 

Definition at line 266 of file ixlib_garbage.hh.

template<class T>
ixion::dynamic_ref< T >::dynamic_ref reference_manager< T > &    mgr,
T *    instance = NULL
[inline]
 

Definition at line 270 of file ixlib_garbage.hh.

template<class T>
ixion::dynamic_ref< T >::~dynamic_ref   [inline]
 

Definition at line 274 of file ixlib_garbage.hh.


Member Function Documentation

template<class T>
dynamic_ref& ixion::dynamic_ref< T >::operator= T *    ptr [inline]
 

Definition at line 283 of file ixlib_garbage.hh.

template<class T>
dynamic_ref& ixion::dynamic_ref< T >::operator= dynamic_ref< T > const &    src [inline]
 

Definition at line 279 of file ixlib_garbage.hh.

template<class T>
void ixion::dynamic_ref< T >::release   [inline]
 

Definition at line 289 of file ixlib_garbage.hh.

template<class T>
T* ixion::dynamic_ref< T >::releaseFromGCArena   [inline]
 

Definition at line 300 of file ixlib_garbage.hh.

template<class T>
void ixion::dynamic_ref< T >::set T *    instance [inline]
 

Definition at line 293 of file ixlib_garbage.hh.

Referenced by operator=().


Member Data Documentation

template<class T>
reference_manager<T>& ixion::dynamic_ref::Manager [protected]
 

Definition at line 263 of file ixlib_garbage.hh.


The documentation for this class was generated from the following file:
Generated on Wed Oct 31 17:12:25 2001 for ixlib by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001