TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy > Class Template Reference

Template class for return stub value of object argument. More...

#include <Object_Argument_T.h>

Inheritance diagram for TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy >:

Inheritance graph
[legend]
Collaboration diagram for TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Ret_Object_Argument_T (void)
virtual CORBA::Boolean demarshal (TAO_InputCDR &)
 Demarshal the argument from the given CDR input stream.
virtual void interceptor_value (CORBA::Any *any) const
 Populate the given CORBA::Any result argument.
S_ptr & arg (void)
S_ptr excp (void)
S_ptr retn (void)

Private Attributes

S_var x_

Detailed Description

template<typename S_ptr, typename S_var, class Insert_Policy>
class TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy >

Template class for return stub value of object argument.

Definition at line 138 of file Object_Argument_T.h.


Constructor & Destructor Documentation

template<typename S_ptr, typename S_var, class Insert_Policy>
ACE_INLINE TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy >::Ret_Object_Argument_T ( void   ) 

Definition at line 79 of file Object_Argument_T.inl.

00080 {}


Member Function Documentation

template<typename S_ptr, typename S_var, class Insert_Policy>
ACE_INLINE S_ptr & TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy >::arg ( void   ) 

Definition at line 87 of file Object_Argument_T.inl.

References TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy >::x_.

00088 {
00089   return this->x_.out ();
00090 }

template<typename S_ptr, typename S_var, class Insert_Policy>
CORBA::Boolean TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy >::demarshal ( TAO_InputCDR  )  [virtual]

Demarshal the argument from the given CDR input stream.

Note:
The default implementation simply returns true.

Reimplemented from TAO::Argument.

Definition at line 143 of file Object_Argument_T.cpp.

References TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy >::x_.

00144 {
00145   return cdr >> this->x_.out ();
00146 }

template<typename S_ptr, typename S_var, class Insert_Policy>
ACE_INLINE S_ptr TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy >::excp ( void   ) 

Definition at line 97 of file Object_Argument_T.inl.

References TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy >::x_.

00098 {
00099   return this->x_.ptr ();
00100 }

template<typename S_ptr, typename S_var, class Insert_Policy>
void TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy >::interceptor_value ( CORBA::Any *  any  )  const [virtual]

Populate the given CORBA::Any result argument.

Note:
The default implementation is a no-op.

Reimplemented from TAO::Argument.

Definition at line 154 of file Object_Argument_T.cpp.

00156 {
00157   Insert_Policy::any_insert (any, this->x_.in ());
00158 }

template<typename S_ptr, typename S_var, class Insert_Policy>
ACE_INLINE S_ptr TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy >::retn ( void   ) 

Definition at line 107 of file Object_Argument_T.inl.

References TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy >::x_.

00108 {
00109   return this->x_._retn ();
00110 }


Member Data Documentation

template<typename S_ptr, typename S_var, class Insert_Policy>
S_var TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy >::x_ [private]

Definition at line 154 of file Object_Argument_T.h.

Referenced by TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy >::arg(), TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy >::demarshal(), TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy >::excp(), and TAO::Ret_Object_Argument_T< S_ptr, S_var, Insert_Policy >::retn().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:39:18 2010 for TAO by  doxygen 1.4.7