TAO::In_Var_Array_Argument_T< S_forany, Insert_Policy > Class Template Reference

IN stub argument of variable size element array. More...

#include <Var_Array_Argument_T.h>

Inheritance diagram for TAO::In_Var_Array_Argument_T< S_forany, Insert_Policy >:

Inheritance graph
[legend]
Collaboration diagram for TAO::In_Var_Array_Argument_T< S_forany, Insert_Policy >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 In_Var_Array_Argument_T (const typename S_forany::_slice_type *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_forany::_slice_type const * arg (void) const

Private Attributes

S_forany x_

Detailed Description

template<typename S_forany, class Insert_Policy>
class TAO::In_Var_Array_Argument_T< S_forany, Insert_Policy >

IN stub argument of variable size element array.

Definition at line 36 of file Var_Array_Argument_T.h.


Constructor & Destructor Documentation

template<typename S_forany, class Insert_Policy>
TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO::In_Var_Array_Argument_T< S_forany, Insert_Policy >::In_Var_Array_Argument_T const typename S_forany::_slice_type *  x  ) 
 

Definition at line 11 of file Var_Array_Argument_T.inl.

00012   : x_ (const_cast<typename S_forany::_slice_type *> (x))
00013 {
00014 }


Member Function Documentation

template<typename S_forany, class Insert_Policy>
ACE_INLINE S_forany::_slice_type const * TAO::In_Var_Array_Argument_T< S_forany, Insert_Policy >::arg void   )  const
 

Definition at line 20 of file Var_Array_Argument_T.inl.

00021 {
00022   return this->x_.in ();
00023 }

template<typename S_forany, class Insert_Policy>
void TAO::In_Var_Array_Argument_T< S_forany, 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 29 of file Var_Array_Argument_T.cpp.

00031 {
00032   Insert_Policy::any_insert (any, this->x_);
00033 }

template<typename S_forany, class Insert_Policy>
TAO_BEGIN_VERSIONED_NAMESPACE_DECL CORBA::Boolean TAO::In_Var_Array_Argument_T< S_forany, 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 Var_Array_Argument_T.cpp.

00020 {
00021   return cdr << this->x_;
00022 }


Member Data Documentation

template<typename S_forany, class Insert_Policy>
S_forany TAO::In_Var_Array_Argument_T< S_forany, Insert_Policy >::x_ [private]
 

Definition at line 48 of file Var_Array_Argument_T.h.


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