OWBI1::IntrusiveReference< T > Class Template Reference

#include <OWBI1_IntrusiveReference.hpp>

Collaboration diagram for OWBI1::IntrusiveReference< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef T element_type
typedef T *this_type::* safe_bool

Public Member Functions

 IntrusiveReference ()
 IntrusiveReference (T *p, bool add_ref=true)
template<class U>
 IntrusiveReference (IntrusiveReference< U > const &rhs)
 IntrusiveReference (IntrusiveReference const &rhs)
 ~IntrusiveReference ()
template<class U>
IntrusiveReferenceoperator= (IntrusiveReference< U > const &rhs)
IntrusiveReferenceoperator= (IntrusiveReference const &rhs)
IntrusiveReferenceoperator= (T *rhs)
T * getPtr () const
T & operator * () const
T * operator-> () const
 operator safe_bool () const
bool operator! () const
void swap (IntrusiveReference &rhs)
template<class U>
IntrusiveReference< U > cast_to () const

Private Types

typedef IntrusiveReference this_type

Private Attributes

T * m_pObj

Detailed Description

template<class T>
class OWBI1::IntrusiveReference< T >

Definition at line 68 of file OWBI1_IntrusiveReference.hpp.


Member Typedef Documentation

template<class T>
typedef T OWBI1::IntrusiveReference< T >::element_type
 

Definition at line 73 of file OWBI1_IntrusiveReference.hpp.

template<class T>
typedef T* this_type::* OWBI1::IntrusiveReference< T >::safe_bool
 

Definition at line 121 of file OWBI1_IntrusiveReference.hpp.

template<class T>
typedef IntrusiveReference OWBI1::IntrusiveReference< T >::this_type [private]
 

Definition at line 71 of file OWBI1_IntrusiveReference.hpp.


Constructor & Destructor Documentation

template<class T>
OWBI1::IntrusiveReference< T >::IntrusiveReference  )  [inline]
 

Definition at line 75 of file OWBI1_IntrusiveReference.hpp.

template<class T>
OWBI1::IntrusiveReference< T >::IntrusiveReference T *  p,
bool  add_ref = true
[inline]
 

Definition at line 78 of file OWBI1_IntrusiveReference.hpp.

template<class T>
template<class U>
OWBI1::IntrusiveReference< T >::IntrusiveReference IntrusiveReference< U > const &  rhs  )  [inline]
 

Definition at line 82 of file OWBI1_IntrusiveReference.hpp.

template<class T>
OWBI1::IntrusiveReference< T >::IntrusiveReference IntrusiveReference< T > const &  rhs  )  [inline]
 

Definition at line 86 of file OWBI1_IntrusiveReference.hpp.

template<class T>
OWBI1::IntrusiveReference< T >::~IntrusiveReference  )  [inline]
 

Definition at line 90 of file OWBI1_IntrusiveReference.hpp.


Member Function Documentation

template<class T>
template<class U>
IntrusiveReference<U> OWBI1::IntrusiveReference< T >::cast_to  )  const [inline]
 

Definition at line 139 of file OWBI1_IntrusiveReference.hpp.

template<class T>
T* OWBI1::IntrusiveReference< T >::getPtr  )  const [inline]
 

Definition at line 109 of file OWBI1_IntrusiveReference.hpp.

Referenced by OWBI1::const_pointer_cast(), OWBI1::dynamic_pointer_cast(), OWBI1::operator!=(), OWBI1::operator==(), and OWBI1::static_pointer_cast().

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

Definition at line 113 of file OWBI1_IntrusiveReference.hpp.

template<class T>
OWBI1::IntrusiveReference< T >::operator safe_bool  )  const [inline]
 

Definition at line 122 of file OWBI1_IntrusiveReference.hpp.

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

Definition at line 126 of file OWBI1_IntrusiveReference.hpp.

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

Definition at line 117 of file OWBI1_IntrusiveReference.hpp.

template<class T>
IntrusiveReference& OWBI1::IntrusiveReference< T >::operator= T *  rhs  )  [inline]
 

Definition at line 104 of file OWBI1_IntrusiveReference.hpp.

template<class T>
IntrusiveReference& OWBI1::IntrusiveReference< T >::operator= IntrusiveReference< T > const &  rhs  )  [inline]
 

Definition at line 99 of file OWBI1_IntrusiveReference.hpp.

template<class T>
template<class U>
IntrusiveReference& OWBI1::IntrusiveReference< T >::operator= IntrusiveReference< U > const &  rhs  )  [inline]
 

Definition at line 94 of file OWBI1_IntrusiveReference.hpp.

template<class T>
void OWBI1::IntrusiveReference< T >::swap IntrusiveReference< T > &  rhs  )  [inline]
 

Definition at line 131 of file OWBI1_IntrusiveReference.hpp.

Referenced by OWBI1::IntrusiveReference< TempFileEnumerationImpl< T > >::operator=(), and OWBI1::swap().


Member Data Documentation

template<class T>
T* OWBI1::IntrusiveReference< T >::m_pObj [private]
 

Definition at line 145 of file OWBI1_IntrusiveReference.hpp.

Referenced by OWBI1::IntrusiveReference< TempFileEnumerationImpl< T > >::cast_to(), OWBI1::IntrusiveReference< TempFileEnumerationImpl< T > >::getPtr(), OWBI1::IntrusiveReference< TempFileEnumerationImpl< T > >::IntrusiveReference(), OWBI1::IntrusiveReference< TempFileEnumerationImpl< T > >::operator *(), OWBI1::IntrusiveReference< TempFileEnumerationImpl< T > >::operator safe_bool(), OWBI1::IntrusiveReference< TempFileEnumerationImpl< T > >::operator!(), OWBI1::IntrusiveReference< TempFileEnumerationImpl< T > >::operator->(), OWBI1::IntrusiveReference< TempFileEnumerationImpl< T > >::swap(), and OWBI1::IntrusiveReference< TempFileEnumerationImpl< T > >::~IntrusiveReference().


The documentation for this class was generated from the following file:
Generated on Thu Feb 9 09:18:31 2006 for openwbem by  doxygen 1.4.6