2005/5/9

     
 

class ExtObjectSharedRef

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

ExtObjectSharedRef< T > Class Template Reference
[SmartPointers and Garbage Collection]

#include <ExtObject.h>

Inheritance diagram for ExtObjectSharedRef< T >:

RefHolder< T > List of all members.

Detailed Description

template<class T>
class ExtObjectSharedRef< T >

RefHolder type (R-type) for external (foreign) pointer.

This class is used via the ACDK_DECL_EXT_CLASS_PTR(ClassName) macro


Public Member Functions

 ExtObjectSharedRef (NilRef n=Nil)
 ExtObjectSharedRef (T *o)
template<class OT> upcast_explicit ExtObjectSharedRef (const RefHolder< OT > &o)
 ExtObjectSharedRef (::acdk::lang::Object *o)
 ~ExtObjectSharedRef ()
ExtObjectSharedRef< T > & operator= (T *o)
ExtObjectSharedRef< T > & operator= (const ExtObjectSharedRef< T > &o)
ExtObjectSharedRef< T > & operator= (NilRef nil)
bool operator== (NilRef nil) const
bool operator!= (NilRef nil) const
template<class OT> bool operator== (const RefHolder< OT > &other) const
template<class OT> bool operator!= (const RefHolder< OT > &other) const
T * getIPtr () const
T * iptr () const
inline::acdk::lang::Object * impl () const
inline::acdk::lang::Object * getImpl ()
T * operator-> () const
ExtObjectSharedRef< T > * _ref_this ()
 operator T * () const
T & operator * () const

Protected Types

typedef RefHolder< T > Base


Member Typedef Documentation

template<class T>
typedef RefHolder<T> ExtObjectSharedRef< T >::Base [protected]
 


Constructor & Destructor Documentation

template<class T>
ExtObjectSharedRef< T >::ExtObjectSharedRef NilRef  n = Nil  )  [inline]
 

template<class T>
ExtObjectSharedRef< T >::ExtObjectSharedRef T *  o  )  [inline]
 

template<class T>
template<class OT>
upcast_explicit ExtObjectSharedRef< T >::ExtObjectSharedRef const RefHolder< OT > &  o  )  [inline]
 

template<class T>
ExtObjectSharedRef< T >::ExtObjectSharedRef ::acdk::lang::Object o  )  [inline, explicit]
 

template<class T>
ExtObjectSharedRef< T >::~ExtObjectSharedRef  )  [inline]
 


Member Function Documentation

template<class T>
ExtObjectSharedRef<T>* ExtObjectSharedRef< T >::_ref_this  )  [inline]
 

Reimplemented from RefHolder< T >.

template<class T>
inline ::acdk::lang::Object* ExtObjectSharedRef< T >::getImpl  )  [inline]
 

Reimplemented from RefHolder< T >.

template<class T>
T* ExtObjectSharedRef< T >::getIPtr  )  const [inline]
 

Reimplemented from RefHolder< T >.

template<class T>
inline ::acdk::lang::Object* ExtObjectSharedRef< T >::impl  )  const [inline]
 

Reimplemented from RefHolder< T >.

template<class T>
T* ExtObjectSharedRef< T >::iptr  )  const [inline]
 

Reimplemented from RefHolder< T >.

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

Reimplemented from RefHolder< T >.

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

Reimplemented from RefHolder< T >.

template<class T>
template<class OT>
bool ExtObjectSharedRef< T >::operator!= const RefHolder< OT > &  other  )  const [inline]
 

Reimplemented from RefHolder< T >.

template<class T>
bool ExtObjectSharedRef< T >::operator!= NilRef  nil  )  const [inline]
 

Reimplemented from RefHolder< T >.

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

Reimplemented from RefHolder< T >.

template<class T>
ExtObjectSharedRef<T>& ExtObjectSharedRef< T >::operator= NilRef  nil  )  [inline]
 

Reimplemented from RefHolder< T >.

template<class T>
ExtObjectSharedRef<T>& ExtObjectSharedRef< T >::operator= const ExtObjectSharedRef< T > &  o  )  [inline]
 

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

Reimplemented from RefHolder< T >.

template<class T>
template<class OT>
bool ExtObjectSharedRef< T >::operator== const RefHolder< OT > &  other  )  const [inline]
 

Reimplemented from RefHolder< T >.

template<class T>
bool ExtObjectSharedRef< T >::operator== NilRef  nil  )  const [inline]
 

Reimplemented from RefHolder< T >.