Public Types | Public Member Functions | Private Member Functions | Private Attributes

TAO_Pseudo_Var_T< T > Class Template Reference

Parametrized implementation of _var class for TypeCode, Object, AbstractBase, NamedValue, NVList, Principal, Request, Context, ORB, LocalObject, and Environment. More...

#include <Pseudo_VarOut_T.h>

Inheritance diagram for TAO_Pseudo_Var_T< T >:
Inheritance graph
[legend]
Collaboration diagram for TAO_Pseudo_Var_T< T >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef T::_ptr_type _in_type
typedef T::_ptr_type & _inout_type
typedef T::_ptr_type & _out_type
typedef T::_ptr_type _retn_type

Public Member Functions

 TAO_Pseudo_Var_T (void)
 TAO_Pseudo_Var_T (typename T::_ptr_type)
 TAO_Pseudo_Var_T (const TAO_Pseudo_Var_T< T > &)
 ~TAO_Pseudo_Var_T (void)
TAO_Pseudo_Var_T< T > & operator= (typename T::_ptr_type)
TAO_Pseudo_Var_T< T > & operator= (const TAO_Pseudo_Var_T< T > &)
T::_ptr_type operator-> (void) const
 operator typename T::_ptr_type const & () const
 operator typename T::_ptr_type & ()
_in_type in (void) const
_inout_type inout (void)
_out_type out (void)
_retn_type _retn (void)
_retn_type ptr (void) const

Private Member Functions

 TAO_Pseudo_Var_T (const TAO_Base_var &)
void operator= (const TAO_Base_var &)

Private Attributes

T::_ptr_type ptr_

Detailed Description

template<typename T>
class TAO_Pseudo_Var_T< T >

Parametrized implementation of _var class for TypeCode, Object, AbstractBase, NamedValue, NVList, Principal, Request, Context, ORB, LocalObject, and Environment.

Definition at line 57 of file Pseudo_VarOut_T.h.


Member Typedef Documentation

template<typename T>
typedef T::_ptr_type TAO_Pseudo_Var_T< T >::_in_type

Definition at line 74 of file Pseudo_VarOut_T.h.

template<typename T>
typedef T::_ptr_type& TAO_Pseudo_Var_T< T >::_inout_type

Definition at line 75 of file Pseudo_VarOut_T.h.

template<typename T>
typedef T::_ptr_type& TAO_Pseudo_Var_T< T >::_out_type

Definition at line 76 of file Pseudo_VarOut_T.h.

template<typename T>
typedef T::_ptr_type TAO_Pseudo_Var_T< T >::_retn_type

Definition at line 77 of file Pseudo_VarOut_T.h.


Constructor & Destructor Documentation

template<typename T >
TAO_Pseudo_Var_T< T >::TAO_Pseudo_Var_T ( void   ) 

Definition at line 11 of file Pseudo_VarOut_T.inl.

  : ptr_ (T::_nil ())
{}

template<typename T>
TAO_Pseudo_Var_T< T >::TAO_Pseudo_Var_T ( typename T::_ptr_type  p  ) 

Definition at line 17 of file Pseudo_VarOut_T.inl.

  : ptr_ (p)
{}

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

Definition at line 23 of file Pseudo_VarOut_T.inl.

  : TAO_Base_var ()
  , ptr_ (T::_duplicate (p.ptr ()))
{}

template<typename T >
TAO_Pseudo_Var_T< T >::~TAO_Pseudo_Var_T ( void   ) 

Definition at line 30 of file Pseudo_VarOut_T.inl.

{
  ::CORBA::release (this->ptr_);
}

template<typename T>
TAO_Pseudo_Var_T< T >::TAO_Pseudo_Var_T ( const TAO_Base_var  )  [private]

Member Function Documentation

template<typename T >
T::_ptr_type TAO_Pseudo_Var_T< T >::_retn ( void   ) 

Definition at line 96 of file Pseudo_VarOut_T.inl.

{
  typename T::_ptr_type val = this->ptr_;
  this->ptr_ = T::_nil ();
  return val;
}

template<typename T >
T::_ptr_type TAO_Pseudo_Var_T< T >::in ( void   )  const

Definition at line 70 of file Pseudo_VarOut_T.inl.

{
  return this->ptr_;
}

template<typename T >
T::_ptr_type & TAO_Pseudo_Var_T< T >::inout ( void   ) 

Definition at line 78 of file Pseudo_VarOut_T.inl.

{
  return this->ptr_;
}

template<typename T >
TAO_Pseudo_Var_T< T >::operator typename T::_ptr_type & (  ) 

Definition at line 54 of file Pseudo_VarOut_T.inl.

{
  return this->ptr_;
}

template<typename T >
TAO_Pseudo_Var_T< T >::operator typename T::_ptr_type const & (  )  const

Definition at line 47 of file Pseudo_VarOut_T.inl.

{
  return this->ptr_;
}

template<typename T >
T::_ptr_type TAO_Pseudo_Var_T< T >::operator-> ( void   )  const

Definition at line 62 of file Pseudo_VarOut_T.inl.

{
  return this->ptr_;
}

template<typename T>
TAO_Pseudo_Var_T< T > & TAO_Pseudo_Var_T< T >::operator= ( typename T::_ptr_type  p  ) 

Definition at line 38 of file Pseudo_VarOut_T.inl.

{
  ::CORBA::release (this->ptr_);
  this->ptr_ = p;
  return *this;
}

template<typename T>
void TAO_Pseudo_Var_T< T >::operator= ( const TAO_Base_var  )  [private]

Reimplemented from TAO_Base_var.

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

Definition at line 16 of file Pseudo_VarOut_T.cpp.

{
  if (this != &p)
    {
      ::CORBA::release (this->ptr_);
      this->ptr_ = T::_duplicate (p.ptr ());
    }

  return *this;
}

template<typename T >
T::_ptr_type & TAO_Pseudo_Var_T< T >::out ( void   ) 

Definition at line 86 of file Pseudo_VarOut_T.inl.

{
  ::CORBA::release (this->ptr_);
  this->ptr_ = T::_nil ();
  return this->ptr_;
}

template<typename T >
T::_ptr_type TAO_Pseudo_Var_T< T >::ptr ( void   )  const

Definition at line 106 of file Pseudo_VarOut_T.inl.

{
  return this->ptr_;
}


Member Data Documentation

template<typename T>
T::_ptr_type TAO_Pseudo_Var_T< T >::ptr_ [private]

Definition at line 93 of file Pseudo_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