TAO::In_Object_Argument_T< S_ptr, Insert_Policy > Class Template Reference

Template class for IN object argument. More...

#include <Object_Argument_T.h>

Inheritance diagram for TAO::In_Object_Argument_T< S_ptr, Insert_Policy >:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 In_Object_Argument_T (S_ptr x)
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr)
 Marshal the argument into the given CDR output stream.

virtual void interceptor_value (CORBA::Any *any) const
 Populate the given CORBA::Any result argument.

S_ptr arg (void) const

Private Attributes

S_ptr x_

Detailed Description

template<typename S_ptr, class Insert_Policy>
class TAO::In_Object_Argument_T< S_ptr, Insert_Policy >

Template class for IN object argument.

Definition at line 37 of file Object_Argument_T.h.


Constructor & Destructor Documentation

template<typename S_ptr, class Insert_Policy>
TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO::In_Object_Argument_T< S_ptr, Insert_Policy >::In_Object_Argument_T S_ptr  x  ) 
 

Definition at line 10 of file Object_Argument_T.inl.

00011   : x_ (x)
00012 {}


Member Function Documentation

template<typename S_ptr, class Insert_Policy>
ACE_INLINE S_ptr TAO::In_Object_Argument_T< S_ptr, Insert_Policy >::arg void   )  const
 

Definition at line 18 of file Object_Argument_T.inl.

00019 {
00020   return this->x_;
00021 }

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

00028 {
00029   Insert_Policy::any_insert (any, this->x_);
00030 }

template<typename S_ptr, class Insert_Policy>
TAO_BEGIN_VERSIONED_NAMESPACE_DECL CORBA::Boolean TAO::In_Object_Argument_T< S_ptr, Insert_Policy >::marshal TAO_OutputCDR cdr  )  [virtual]
 

Marshal the argument into the given CDR output stream.

Note:
The default implementation simply returns true.

Reimplemented from TAO::Argument.

Definition at line 17 of file Object_Argument_T.cpp.

00018 {
00019   return cdr << this->x_;
00020 }


Member Data Documentation

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

Definition at line 49 of file Object_Argument_T.h.


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