Public Member Functions | Private Attributes

TAO_Objref_Out_T< T > Class Template Reference

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

#include <Objref_VarOut_T.h>

List of all members.

Public Member Functions

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

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 >
TAO_Objref_Out_T< T >::TAO_Objref_Out_T ( T *&  p  ) 

Definition at line 108 of file Objref_VarOut_T.inl.

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

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

Definition at line 116 of file Objref_VarOut_T.inl.

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

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

Definition at line 125 of file Objref_VarOut_T.inl.

  : ptr_ (p.ptr_)
{
}


Member Function Documentation

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

Definition at line 167 of file Objref_VarOut_T.inl.

{
  return this->ptr_;
}

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

Definition at line 175 of file Objref_VarOut_T.inl.

{
  return this->ptr_;
}

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

Definition at line 151 of file Objref_VarOut_T.inl.

{
  this->ptr_ = p;
  return *this;
}

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

Definition at line 133 of file Objref_VarOut_T.inl.

{
  this->ptr_ = p.ptr_;
  return *this;
}

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

Definition at line 142 of file Objref_VarOut_T.inl.

{
  this->ptr_ = TAO::Objref_Traits<T>::duplicate (p.ptr ());
  return *this;
}

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

Definition at line 160 of file Objref_VarOut_T.inl.

{
  return this->ptr_;
}


Member Data Documentation

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

Definition at line 116 of file Objref_VarOut_T.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines