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

Protected 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::In_Fixed_Array_Argument_T< S_forany, Insert_Policy >::In_Fixed_Array_Argument_T ( const typename S_forany::_slice_type *  x  )  [inline]

Definition at line 11 of file Fixed_Array_Argument_T.inl.

00012   : x_ (
00013 #if defined __IBMCPP__ && __IBMCPP__ <= 800
00014         // @@ (OO) IBMCPP 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         (typename S_forany::_slice_type *) x
00021 #else
00022         const_cast<typename S_forany::_slice_type *> (x)
00023 #endif  /* IBMCPP */
00024         )
00025 {
00026 }


Member Function Documentation

template<typename S_forany , class Insert_Policy >
const S_forany::_slice_type * TAO::In_Fixed_Array_Argument_T< S_forany, Insert_Policy >::arg ( void   )  const [inline]

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 >
CORBA::Boolean TAO::In_Fixed_Array_Argument_T< S_forany, Insert_Policy >::marshal ( TAO_OutputCDR cdr  )  [inline, 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_ [protected]

Definition at line 48 of file Fixed_Array_Argument_T.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Sun Nov 22 23:28:02 2009 for TAO by  doxygen 1.6.1