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_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO_Pseudo_Var_T< T >::TAO_Pseudo_Var_T void   ) 
 

Definition at line 9 of file Pseudo_VarOut_T.inl.

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

template<typename T>
ACE_INLINE TAO_Pseudo_Var_T< T >::TAO_Pseudo_Var_T typename T::_ptr_type   ) 
 

Definition at line 15 of file Pseudo_VarOut_T.inl.

00016   : ptr_ (p)
00017 {}

template<typename T>
ACE_INLINE TAO_Pseudo_Var_T< T >::TAO_Pseudo_Var_T const TAO_Pseudo_Var_T< T > &   ) 
 

Definition at line 21 of file Pseudo_VarOut_T.inl.

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

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

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>
ACE_INLINE T::_ptr_type TAO_Pseudo_Var_T< T >::_retn void   ) 
 

Definition at line 94 of file Pseudo_VarOut_T.inl.

Referenced by TAO_ORB_Core::implrepo_service(), TAO_CORBALOC_Parser::make_stub_from_mprofile(), TAO_CORBANAME_Parser::parse_string(), TAO_CORBALOC_Parser::parse_string_rir_helper(), CORBA::ORB::resolve_initial_references(), TAO_ORB_Core::resolve_ior_table_i(), and TAO::Invocation_Base::steal_forwarded_reference().

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

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

Definition at line 68 of file Pseudo_VarOut_T.inl.

Referenced by TAO::Synch_Twoway_Invocation::check_reply_status(), TAO_ORB_Core::collocation_strategy(), TAO_ServerRequest::init_reply(), TAO::Collocated_Invocation::invoke(), TAO::Invocation_Adapter::invoke_collocated_i(), TAO::Invocation_Adapter::invoke_i(), TAO::Invocation_Adapter::invoke_remote_i(), TAO::Invocation_Base::is_forwarded(), TAO::Synch_Twoway_Invocation::location_forward(), TAO_CORBALOC_Parser::make_stub_from_mprofile(), operator>>(), TAO_CORBANAME_Parser::parse_string(), TAO_GIOP_Message_Lite::process_locate_request(), TAO_GIOP_Message_Base::process_locate_request(), TAO_GIOP_Message_Lite::process_request(), TAO_GIOP_Message_Base::process_request(), CORBA::ORB::resolve_initial_references(), TAO::Narrow_Utils< T >::unchecked_narrow(), TAO_GIOP_Message_Lite::write_locate_reply_mesg(), TAO_GIOP_Message_Generator_Parser_12::write_locate_reply_mesg(), and TAO_GIOP_Message_Generator_Parser_10::write_locate_reply_mesg().

00069 {
00070   return this->ptr_;
00071 }

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

Definition at line 76 of file Pseudo_VarOut_T.inl.

Referenced by operator>>().

00077 {
00078   return this->ptr_;
00079 }

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

Definition at line 52 of file Pseudo_VarOut_T.inl.

00053 {
00054   return this->ptr_;
00055 }

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

Definition at line 45 of file Pseudo_VarOut_T.inl.

00046 {
00047   return this->ptr_;
00048 }

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

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]
 

Reimplemented from TAO_Base_var.

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

Definition at line 16 of file Pseudo_VarOut_T.cpp.

References TAO_Pseudo_Var_T< T >::ptr().

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>
ACE_INLINE TAO_Pseudo_Var_T< T > & TAO_Pseudo_Var_T< T >::operator= typename T::_ptr_type   ) 
 

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>
ACE_INLINE T::_ptr_type & TAO_Pseudo_Var_T< T >::out void   ) 
 

Definition at line 84 of file Pseudo_VarOut_T.inl.

Referenced by TAO::Collocated_Invocation::invoke().

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

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

Definition at line 104 of file Pseudo_VarOut_T.inl.

Referenced by TAO_Pseudo_Var_T< T >::operator=().

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:
Generated on Thu Nov 9 12:23:16 2006 for TAO by doxygen 1.3.6