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

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

#include <Fixed_Array_Argument_T.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 In_Fixed_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_Fixed_Array_Argument_T< S_forany, Insert_Policy >

IN stub argument of fixed size element array.

Definition at line 36 of file Fixed_Array_Argument_T.h.


Constructor & Destructor Documentation

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

Definition at line 11 of file Fixed_Array_Argument_T.inl.

00012   : x_ (
00013 #if (defined (__IBMCPP__) && (__IBMCPP__ <= 600))
00014         // @@ (OO) IMBCPP 6 can't handle the const_cast<> in the
00015         //         multi-dimensional array case so C-style
00016         //         "sledgehammer" cast instead (reinterpret_cast<>
00017         //         doesn't work either).  It's not clear if this is
00018         //         really the right thing to do but the code won't
00019         //         compile without it.
00020         (S_forany::slice_type *) x
00021 #else
00022         const_cast<typename S_forany::_slice_type *> (x)
00023 #endif  /* IBMCPP <= 600 */
00024         )
00025 {
00026 }


Member Function Documentation

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

Definition at line 32 of file Fixed_Array_Argument_T.inl.

00033 {
00034   return this->x_.in ();
00035 }

template<typename S_forany, class Insert_Policy>
void TAO::In_Fixed_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 30 of file Fixed_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_Fixed_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 Fixed_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_Fixed_Array_Argument_T< S_forany, Insert_Policy >::x_ [private]
 

Definition at line 48 of file Fixed_Array_Argument_T.h.


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