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   )  [inline]

Definition at line 9 of file Pseudo_VarOut_T.inl.

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

template<typename T>
TAO_Pseudo_Var_T< T >::TAO_Pseudo_Var_T ( typename T::_ptr_type  p  )  [inline]

Definition at line 15 of file Pseudo_VarOut_T.inl.

00016   : ptr_ (p)
00017 {}

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

Definition at line 21 of file Pseudo_VarOut_T.inl.

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

template<typename T >
TAO_Pseudo_Var_T< T >::~TAO_Pseudo_Var_T ( void   )  [inline]

Definition at line 28 of file Pseudo_VarOut_T.inl.

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

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   )  [inline]

Definition at line 94 of file Pseudo_VarOut_T.inl.

00095 {
00096   typename T::_ptr_type val = this->ptr_;
00097   this->ptr_ = T::_nil ();
00098   return val;
00099 }

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

Definition at line 68 of file Pseudo_VarOut_T.inl.

00069 {
00070   return this->ptr_;
00071 }

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

Definition at line 76 of file Pseudo_VarOut_T.inl.

00077 {
00078   return this->ptr_;
00079 }

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

Definition at line 52 of file Pseudo_VarOut_T.inl.

00053 {
00054   return this->ptr_;
00055 }

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

Definition at line 45 of file Pseudo_VarOut_T.inl.

00046 {
00047   return this->ptr_;
00048 }

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

Definition at line 60 of file Pseudo_VarOut_T.inl.

00061 {
00062   return this->ptr_;
00063 }

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

Reimplemented from TAO_Base_var.

Definition at line 16 of file Pseudo_VarOut_T.cpp.

00017 {
00018   if (this != &p)
00019     {
00020       ::CORBA::release (this->ptr_);
00021       this->ptr_ = T::_duplicate (p.ptr ());
00022     }
00023 
00024   return *this;
00025 }

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

Definition at line 36 of file Pseudo_VarOut_T.inl.

00037 {
00038   ::CORBA::release (this->ptr_);
00039   this->ptr_ = p;
00040   return *this;
00041 }

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

Definition at line 84 of file Pseudo_VarOut_T.inl.

00085 {
00086   ::CORBA::release (this->ptr_);
00087   this->ptr_ = T::_nil ();
00088   return this->ptr_;
00089 }

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

Definition at line 104 of file Pseudo_VarOut_T.inl.

00105 {
00106   return this->ptr_;
00107 }


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

Generated on Sat Nov 21 23:29:37 2009 for TAO by  doxygen 1.6.1