TAO::Out_Object_Argument_T< S_ptr, S_out, Insert_Policy > Class Template Reference

Template class for OUT object argument. More...

#include <Object_Argument_T.h>

Inheritance diagram for TAO::Out_Object_Argument_T< S_ptr, S_out, Insert_Policy >:

Inheritance graph
[legend]
Collaboration diagram for TAO::Out_Object_Argument_T< S_ptr, S_out, Insert_Policy >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Out_Object_Argument_T (S_out &x)
virtual CORBA::Boolean demarshal (TAO_InputCDR &cdr)
 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_out arg (void)

Private Attributes

S_ptr & x_

Detailed Description

template<typename S_ptr, typename S_out, class Insert_Policy>
class TAO::Out_Object_Argument_T< S_ptr, S_out, Insert_Policy >

Template class for OUT object argument.

Definition at line 86 of file Object_Argument_T.h.


Constructor & Destructor Documentation

template<typename S_ptr, typename S_out, class Insert_Policy>
ACE_INLINE TAO::Out_Object_Argument_T< S_ptr, S_out, Insert_Policy >::Out_Object_Argument_T S_out &  x  ) 
 

Definition at line 51 of file Object_Argument_T.inl.

00052   : x_ (x.ptr ())
00053 {}


Member Function Documentation

template<typename S_ptr, typename S_out, class Insert_Policy>
ACE_INLINE S_out TAO::Out_Object_Argument_T< S_ptr, S_out, Insert_Policy >::arg void   ) 
 

Definition at line 60 of file Object_Argument_T.inl.

00061 {
00062   return this->x_;
00063 }

template<typename S_ptr, typename S_out, class Insert_Policy>
CORBA::Boolean TAO::Out_Object_Argument_T< S_ptr, S_out, Insert_Policy >::demarshal TAO_InputCDR cdr  )  [virtual]
 

Demarshal the argument from the given CDR input stream.

Note:
The default implementation simply returns true.

Reimplemented from TAO::Argument.

Definition at line 75 of file Object_Argument_T.cpp.

00076 {
00077   return cdr >> this->x_;
00078 }

template<typename S_ptr, typename S_out, class Insert_Policy>
void TAO::Out_Object_Argument_T< S_ptr, S_out, 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 86 of file Object_Argument_T.cpp.

00088 {
00089   Insert_Policy::any_insert (any, this->x_);
00090 }


Member Data Documentation

template<typename S_ptr, typename S_out, class Insert_Policy>
S_ptr& TAO::Out_Object_Argument_T< S_ptr, S_out, Insert_Policy >::x_ [private]
 

Definition at line 98 of file Object_Argument_T.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 12:26:31 2006 for TAO by doxygen 1.3.6