TAO_Objref_Out_T< T > Class Template Reference

Parametrized implementation of _out class for object references. More...

#include <Objref_VarOut_T.h>

Collaboration diagram for TAO_Objref_Out_T< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_Objref_Out_T (T *&)
 TAO_Objref_Out_T (TAO_Objref_Var_T< T > &)
 TAO_Objref_Out_T (const TAO_Objref_Out_T< T > &)
TAO_Objref_Out_Toperator= (const TAO_Objref_Out_T< T > &)
TAO_Objref_Out_Toperator= (T *)
 operator T *& ()
T *& ptr (void)
T * operator-> (void)

Private Member Functions

TAO_Objref_Out_Toperator= (const TAO_Objref_Var_T< T > &)
 Assignment from _var not allowed.

Private Attributes

T *& ptr_

Detailed Description

template<typename T>
class TAO_Objref_Out_T< T >

Parametrized implementation of _out class for object references.

Definition at line 98 of file Objref_VarOut_T.h.


Constructor & Destructor Documentation

template<typename T>
ACE_INLINE TAO_Objref_Out_T< T >::TAO_Objref_Out_T ( T *&   ) 

Definition at line 108 of file Objref_VarOut_T.inl.

References TAO_Objref_Out_T< T >::ptr_.

00109   : ptr_ (p)
00110 {
00111   this->ptr_ = TAO::Objref_Traits<T>::nil ();
00112 }

template<typename T>
ACE_INLINE TAO_Objref_Out_T< T >::TAO_Objref_Out_T ( TAO_Objref_Var_T< T > &   ) 

Definition at line 116 of file Objref_VarOut_T.inl.

References TAO_Objref_Out_T< T >::ptr_, and CORBA::release().

00119   : ptr_ (p.out ())
00120 {
00121   TAO::Objref_Traits<T>::release (this->ptr_);
00122   this->ptr_ = TAO::Objref_Traits<T>::nil ();
00123 }

template<typename T>
ACE_INLINE TAO_Objref_Out_T< T >::TAO_Objref_Out_T ( const TAO_Objref_Out_T< T > &   ) 

Definition at line 127 of file Objref_VarOut_T.inl.

00130   : ptr_ (p.ptr_)
00131 {
00132 }


Member Function Documentation

template<typename T>
ACE_INLINE TAO_Objref_Out_T< T >::operator T *& (  ) 

Definition at line 164 of file Objref_VarOut_T.inl.

References TAO_Objref_Out_T< T >::ptr_.

00165 {
00166   return this->ptr_;
00167 }

template<typename T>
ACE_INLINE T * TAO_Objref_Out_T< T >::operator-> ( void   ) 

Definition at line 172 of file Objref_VarOut_T.inl.

References TAO_Objref_Out_T< T >::ptr_.

00173 {
00174   return this->ptr_;
00175 }

template<typename T>
TAO_Objref_Out_T& TAO_Objref_Out_T< T >::operator= ( const TAO_Objref_Var_T< T > &   )  [private]

Assignment from _var not allowed.

template<typename T>
ACE_INLINE TAO_Objref_Out_T< T > & TAO_Objref_Out_T< T >::operator= ( T *   ) 

Definition at line 148 of file Objref_VarOut_T.inl.

References TAO_Objref_Out_T< T >::ptr_.

00149 {
00150   this->ptr_ = p;
00151   return *this;
00152 }

template<typename T>
ACE_INLINE TAO_Objref_Out_T< T > & TAO_Objref_Out_T< T >::operator= ( const TAO_Objref_Out_T< T > &   ) 

Definition at line 137 of file Objref_VarOut_T.inl.

References TAO_Objref_Out_T< T >::ptr_.

00140 {
00141   this->ptr_ = p.ptr_;
00142   return *this;
00143 }

template<typename T>
ACE_INLINE T *& TAO_Objref_Out_T< T >::ptr ( void   ) 

Definition at line 157 of file Objref_VarOut_T.inl.

References TAO_Objref_Out_T< T >::ptr_.

00158 {
00159   return this->ptr_;
00160 }


Member Data Documentation

template<typename T>
T*& TAO_Objref_Out_T< T >::ptr_ [private]

Definition at line 115 of file Objref_VarOut_T.h.

Referenced by TAO_Objref_Out_T< T >::operator T *&(), TAO_Objref_Out_T< T >::operator->(), TAO_Objref_Out_T< T >::operator=(), TAO_Objref_Out_T< T >::ptr(), and TAO_Objref_Out_T< T >::TAO_Objref_Out_T().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:39:38 2010 for TAO by  doxygen 1.4.7