Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

REFptr< T > Class Template Reference

#include <ref.H>

Inheritance diagram for REFptr< T >:

Inheritance graph
[legend]
Collaboration diagram for REFptr< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 REFptr ()
 REFptr (CREFptr< T > &p)
 REFptr (T *pObj)
virtual ~REFptr ()
void Init ()
void Clear ()
REFptr< T > & operator= (T *o)
REFptr< T > & operator= (CREFptr< T > &p)
bool operator== (CREFptr< T > &p) const
bool operator== (T *p) const
bool operator!= (CREFptr< T > &p) const
bool operator!= (T *p) const
bool operator! () const
const T & operator * () const
T & operator * ()
const T * operator-> () const
T * operator-> ()
 operator T * () const
REFptr< T > & Cast_from_void (void *V)

Protected Attributes

T * p_

Friends

ostream & operator<< (ostream &os, CREFptr< T > &p)

Detailed Description

template<class T>
class REFptr< T >

Definition at line 144 of file ref.H.


Constructor & Destructor Documentation

template<class T>
REFptr< T >::REFptr  )  [inline]
 

Definition at line 150 of file ref.H.

template<class T>
REFptr< T >::REFptr CREFptr< T > &  p  )  [inline]
 

Definition at line 151 of file ref.H.

template<class T>
REFptr< T >::REFptr T *  pObj  )  [inline]
 

Definition at line 152 of file ref.H.

template<class T>
virtual REFptr< T >::~REFptr  )  [inline, virtual]
 

Definition at line 160 of file ref.H.


Member Function Documentation

template<class T>
REFptr<T>& REFptr< T >::Cast_from_void void *  V  )  [inline]
 

Definition at line 200 of file ref.H.

template<class T>
void REFptr< T >::Clear  )  [inline]
 

Definition at line 163 of file ref.H.

Referenced by REFptr< STR >::operator=().

template<class T>
void REFptr< T >::Init  )  [inline]
 

Definition at line 162 of file ref.H.

template<class T>
T& REFptr< T >::operator *  )  [inline]
 

Definition at line 194 of file ref.H.

template<class T>
const T& REFptr< T >::operator *  )  const [inline]
 

Definition at line 193 of file ref.H.

template<class T>
REFptr< T >::operator T *  )  const [inline]
 

Definition at line 198 of file ref.H.

References REFptr< T >::p_.

template<class T>
bool REFptr< T >::operator!  )  const [inline]
 

Reimplemented in str_ptr.

Definition at line 190 of file ref.H.

template<class T>
bool REFptr< T >::operator!= T *  p  )  const [inline]
 

Definition at line 189 of file ref.H.

template<class T>
bool REFptr< T >::operator!= CREFptr< T > &  p  )  const [inline]
 

Definition at line 188 of file ref.H.

template<class T>
T* REFptr< T >::operator->  )  [inline]
 

Definition at line 196 of file ref.H.

template<class T>
const T* REFptr< T >::operator->  )  const [inline]
 

Definition at line 195 of file ref.H.

template<class T>
REFptr<T>& REFptr< T >::operator= CREFptr< T > &  p  )  [inline]
 

Definition at line 175 of file ref.H.

template<class T>
REFptr<T>& REFptr< T >::operator= T *  o  )  [inline]
 

Definition at line 166 of file ref.H.

template<class T>
bool REFptr< T >::operator== T *  p  )  const [inline]
 

Definition at line 187 of file ref.H.

template<class T>
bool REFptr< T >::operator== CREFptr< T > &  p  )  const [inline]
 

Definition at line 186 of file ref.H.


Friends And Related Function Documentation

template<class T>
ostream& operator<< ostream &  os,
CREFptr< T > &  p
[friend]
 

Definition at line 203 of file ref.H.


Member Data Documentation

template<class T>
T* REFptr< T >::p_ [protected]
 

Definition at line 146 of file ref.H.

Referenced by REFptr< STR >::Clear(), REFptr< STR >::Init(), REFptr< STR >::operator *(), REFptr< T >::operator T *(), REFptr< STR >::operator!(), REFptr< STR >::operator!=(), REFptr< STR >::operator->(), REFptr< STR >::operator=(), REFptr< STR >::operator==(), REFptr< STR >::REFptr(), and REFptr< STR >::~REFptr().


The documentation for this class was generated from the following file:
Generated on Mon Sep 18 11:47:01 2006 for jot by  doxygen 1.4.4