Public Member Functions | Protected Attributes

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

Protected Attributes

S_forany x_

Detailed Description

template<typename S_forany, template< typename > 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 37 of file Fixed_Array_Argument_T.h.


Constructor & Destructor Documentation

template<typename S_forany , template< typename > 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  ) 

Definition at line 11 of file Fixed_Array_Argument_T.inl.

  : x_ (
#if defined __IBMCPP__ && __IBMCPP__ <= 800
        // @@ (OO) IBMCPP can't handle the const_cast<> in the
        //         multi-dimensional array case so C-style
        //         "sledgehammer" cast instead (reinterpret_cast<>
        //         doesn't work either).  It's not clear if this is
        //         really the right thing to do but the code won't
        //         compile without it.
        (typename S_forany::_slice_type *) x
#else
        const_cast<typename S_forany::_slice_type *> (x)
#endif  /* IBMCPP */
        )
{
}


Member Function Documentation

template<typename S_forany , template< typename > class Insert_Policy>
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.

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

template<typename S_forany , template< typename > class Insert_Policy>
void TAO::In_Fixed_Array_Argument_T< S_forany, Insert_Policy >::interceptor_value ( CORBA::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.

{
  Insert_Policy<S_forany>::any_insert (any, this->x_);
}

template<typename S_forany , template< typename > class Insert_Policy>
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.

{
  return cdr << this->x_;
}


Member Data Documentation

template<typename S_forany , template< typename > class Insert_Policy>
S_forany TAO::In_Fixed_Array_Argument_T< S_forany, Insert_Policy >::x_ [protected]

Definition at line 49 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