nub::detail::weak_handle< T > Class Template Reference

Internal helper class for soft_ref. More...

#include <nub/weak_handle.h>

Inheritance diagram for nub::detail::weak_handle< T >:

Inheritance graph
[legend]
Collaboration diagram for nub::detail::weak_handle< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 weak_handle (T *master, ref_type tp) throw ()
 weak_handle (const weak_handle &other) throw ()
weak_handleoperator= (const weak_handle &other) throw ()
bool is_valid () const throw ()
T * get () const
T * get_weak () const throw ()
ref_type get_ref_type () const throw ()


Detailed Description

template<class T>
class nub::detail::weak_handle< T >

Internal helper class for soft_ref.

weak_handle manages memory etc., and provides one important guarantee: it will never return an invalid pointer from get() (an exception will be raised if this would fail).

Definition at line 60 of file weak_handle.h.


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

The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:56:30 2008 by Doxygen version 1.5.5.