Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CL_WeakPtr< T, U > Class Template Reference

#include <weakptr.h>

List of all members.

Public Member Functions

 CL_WeakPtr ()
 Construction:.
 CL_WeakPtr (CL_SharedPtr< T, U > &other)
bool is_null () const
 Operations:.
int get_ref_count () const
U * get ()
const U * get () const
 operator U * ()
 operator const U * () const
 operator CL_SharedPtr () const
U & operator * ()
U const & operator * () const
U * operator-> ()
U const * operator-> () const
bool operator== (const T *other) const
bool operator== (const CL_SharedPtr< T, U > &other) const
CL_WeakPtr< T, U > & operator= (const CL_WeakPtr< T, U > &other)

Private Attributes

CL_SharedPtr_Generic< T > * impl
 Implementation:.


Detailed Description

template<typename T, typename U = T>
class CL_WeakPtr< T, U >

clanCore="System" header=core.h

Definition at line 45 of file weakptr.h.


Constructor & Destructor Documentation

template<typename T, typename U = T>
CL_WeakPtr< T, U >::CL_WeakPtr  )  [inline]
 

Construction:.

Definition at line 49 of file weakptr.h.

template<typename T, typename U = T>
CL_WeakPtr< T, U >::CL_WeakPtr CL_SharedPtr< T, U > &  other  )  [inline]
 

Definition at line 51 of file weakptr.h.


Member Function Documentation

template<typename T, typename U = T>
const U* CL_WeakPtr< T, U >::get  )  const [inline]
 

Definition at line 68 of file weakptr.h.

template<typename T, typename U = T>
U* CL_WeakPtr< T, U >::get  )  [inline]
 

Definition at line 66 of file weakptr.h.

Referenced by CL_WeakPtr< CL_DomNode_Generic >::operator const U *(), and CL_WeakPtr< CL_DomNode_Generic >::operator U *().

template<typename T, typename U = T>
int CL_WeakPtr< T, U >::get_ref_count  )  const [inline]
 

Definition at line 60 of file weakptr.h.

template<typename T, typename U = T>
bool CL_WeakPtr< T, U >::is_null  )  const [inline]
 

Operations:.

Definition at line 56 of file weakptr.h.

template<typename T, typename U = T>
U const& CL_WeakPtr< T, U >::operator *  )  const [inline]
 

Definition at line 82 of file weakptr.h.

template<typename T, typename U = T>
U& CL_WeakPtr< T, U >::operator *  )  [inline]
 

Definition at line 80 of file weakptr.h.

template<typename T, typename U = T>
CL_WeakPtr< T, U >::operator CL_SharedPtr  )  const [inline]
 

Definition at line 77 of file weakptr.h.

template<typename T, typename U = T>
CL_WeakPtr< T, U >::operator const U *  )  const [inline]
 

Definition at line 74 of file weakptr.h.

template<typename T, typename U = T>
CL_WeakPtr< T, U >::operator U *  )  [inline]
 

Definition at line 71 of file weakptr.h.

template<typename T, typename U = T>
U const* CL_WeakPtr< T, U >::operator->  )  const [inline]
 

Definition at line 87 of file weakptr.h.

template<typename T, typename U = T>
U* CL_WeakPtr< T, U >::operator->  )  [inline]
 

Definition at line 85 of file weakptr.h.

template<typename T, typename U = T>
CL_WeakPtr<T, U>& CL_WeakPtr< T, U >::operator= const CL_WeakPtr< T, U > &  other  )  [inline]
 

Definition at line 97 of file weakptr.h.

template<typename T, typename U = T>
bool CL_WeakPtr< T, U >::operator== const CL_SharedPtr< T, U > &  other  )  const [inline]
 

Definition at line 94 of file weakptr.h.

template<typename T, typename U = T>
bool CL_WeakPtr< T, U >::operator== const T *  other  )  const [inline]
 

Definition at line 92 of file weakptr.h.


Member Data Documentation

template<typename T, typename U = T>
CL_SharedPtr_Generic<T>* CL_WeakPtr< T, U >::impl [private]
 

Implementation:.

Definition at line 105 of file weakptr.h.


The documentation for this class was generated from the following file:
Generated on Sat Feb 19 22:51:18 2005 for npcore by  doxygen 1.4.1