00001 // $Id: Pseudo_VarOut_T.cpp 72136 2006-04-19 09:10:19Z jwillemsen $ 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 */