zmm::Ref< T > Class Template Reference

#include <ref.h>

Public Member Functions

 Ref (const Ref &other)
 Ref (T *ptr=NULL)
 Ref (NIL_VAR)
 ~Ref ()
Refoperator= (const Ref &other)
Refoperator= (NIL_VAR)
T & operator* () const
T * operator-> () const
T * getPtr ()
int operator== (NIL_VAR)
int operator!= (NIL_VAR)
int operator== (const Ref &other)
int operator!= (const Ref &other)

Protected Attributes

T * _ptr

Detailed Description

template<class T>
class zmm::Ref< T >

Definition at line 41 of file ref.h.


Constructor & Destructor Documentation

template<class T>
zmm::Ref< T >::Ref ( const Ref< T > &  other  )  [inline]

Definition at line 44 of file ref.h.

template<class T>
zmm::Ref< T >::Ref ( T *  ptr = NULL  )  [inline, explicit]

Definition at line 50 of file ref.h.

template<class T>
zmm::Ref< T >::Ref ( NIL_VAR   )  [inline]

Definition at line 55 of file ref.h.

template<class T>
zmm::Ref< T >::~Ref (  )  [inline]

Definition at line 59 of file ref.h.


Member Function Documentation

template<class T>
T* zmm::Ref< T >::getPtr (  )  [inline]
template<class T>
int zmm::Ref< T >::operator!= ( const Ref< T > &  other  )  [inline]

Definition at line 108 of file ref.h.

template<class T>
int zmm::Ref< T >::operator!= ( NIL_VAR   )  [inline]

Definition at line 100 of file ref.h.

template<class T>
T& zmm::Ref< T >::operator* (  )  const [inline]

Definition at line 84 of file ref.h.

template<class T>
T* zmm::Ref< T >::operator-> (  )  const [inline]

Definition at line 88 of file ref.h.

template<class T>
Ref& zmm::Ref< T >::operator= ( NIL_VAR   )  [inline]

Definition at line 76 of file ref.h.

template<class T>
Ref& zmm::Ref< T >::operator= ( const Ref< T > &  other  )  [inline]

Definition at line 65 of file ref.h.

template<class T>
int zmm::Ref< T >::operator== ( const Ref< T > &  other  )  [inline]

Definition at line 104 of file ref.h.

template<class T>
int zmm::Ref< T >::operator== ( NIL_VAR   )  [inline]

Definition at line 96 of file ref.h.


Field Documentation

template<class T>
T* zmm::Ref< T >::_ptr [protected]

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

Generated on Fri Mar 26 20:16:58 2010 for MediaTomb by  doxygen 1.6.1