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 101 of file Objref_VarOut_T.h.


Constructor & Destructor Documentation

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

Definition at line 131 of file Objref_VarOut_T.cpp.

00132   : ptr_ (p)
00133 {
00134   this->ptr_ = TAO::Objref_Traits<T>::nil ();
00135 }

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

Definition at line 138 of file Objref_VarOut_T.cpp.

00141   : ptr_ (p.out ())
00142 {
00143   TAO::Objref_Traits<T>::release (this->ptr_);
00144   this->ptr_ = TAO::Objref_Traits<T>::nil ();
00145 }

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

Definition at line 148 of file Objref_VarOut_T.cpp.

00151   : ptr_ (p.ptr_)
00152 {
00153 }


Member Function Documentation

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

Definition at line 181 of file Objref_VarOut_T.cpp.

00182 {
00183   return this->ptr_;
00184 }

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

Definition at line 188 of file Objref_VarOut_T.cpp.

00189 {
00190   return this->ptr_;
00191 }

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>
TAO_Objref_Out_T< T > & TAO_Objref_Out_T< T >::operator= T *   ) 
 

Definition at line 167 of file Objref_VarOut_T.cpp.

00168 {
00169   this->ptr_ = p;
00170   return *this;
00171 }

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

Definition at line 157 of file Objref_VarOut_T.cpp.

References TAO_Objref_Out_T< T >::ptr_.

00160 {
00161   this->ptr_ = p.ptr_;
00162   return *this;
00163 }

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

Definition at line 175 of file Objref_VarOut_T.cpp.

00176 {
00177   return this->ptr_;
00178 }


Member Data Documentation

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

Definition at line 118 of file Objref_VarOut_T.h.

Referenced by TAO_Objref_Out_T< T >::operator=().


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 12:22:36 2006 for TAO by doxygen 1.3.6