Pseudo_VarOut_T.cpp

Go to the documentation of this file.
00001 // Pseudo_VarOut_T.cpp,v 1.7 2006/04/19 08:44:19 jwillemsen Exp
00002 
00003 #ifndef TAO_PSEUDO_VAROUT_T_CPP
00004 #define TAO_PSEUDO_VAROUT_T_CPP
00005 
00006 #include "tao/Pseudo_VarOut_T.h"
00007 
00008 #if !defined (__ACE_INLINE__)
00009 #include "tao/Pseudo_VarOut_T.inl"
00010 #endif /* __ACE_INLINE__ */
00011 
00012 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00013 
00014 template <typename T>
00015 TAO_Pseudo_Var_T<T> &
00016 TAO_Pseudo_Var_T<T>::operator= (const TAO_Pseudo_Var_T<T> & p)
00017 {
00018   if (this != &p)
00019     {
00020       ::CORBA::release (this->ptr_);
00021       this->ptr_ = T::_duplicate (p.ptr ());
00022     }
00023 
00024   return *this;
00025 }
00026 
00027 TAO_END_VERSIONED_NAMESPACE_DECL
00028 
00029 #endif /* TAO_PSEUDO_VAROUT_T_CPP */

Generated on Thu Nov 9 11:54:21 2006 for TAO by doxygen 1.3.6