Public Member Functions | Private Attributes

TAO::Ret_Fixed_Array_Argument_T< S_var, S_forany, Insert_Policy > Class Template Reference

Return stub value of fixed size element array. More...

#include <Fixed_Array_Argument_T.h>

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

List of all members.

Public Member Functions

 Ret_Fixed_Array_Argument_T (void)
virtual CORBA::Boolean demarshal (TAO_InputCDR &)
 Demarshal the argument from the given CDR input stream.
virtual void interceptor_value (CORBA::Any *any) const
 Populate the given CORBA::Any result argument.
S_forany::_slice_type *& arg (void)
S_forany::_slice_type * excp (void)
S_forany::_slice_type * retn (void)

Private Attributes

S_var x_

Detailed Description

template<typename S_var, typename S_forany, template< typename > class Insert_Policy>
class TAO::Ret_Fixed_Array_Argument_T< S_var, S_forany, Insert_Policy >

Return stub value of fixed size element array.

Definition at line 129 of file Fixed_Array_Argument_T.h.


Constructor & Destructor Documentation

template<typename S_var , typename S_forany , template< typename > class Insert_Policy>
TAO::Ret_Fixed_Array_Argument_T< S_var, S_forany, Insert_Policy >::Ret_Fixed_Array_Argument_T ( void   ) 

Definition at line 95 of file Fixed_Array_Argument_T.inl.

{}


Member Function Documentation

template<typename S_var , typename S_forany , template< typename > class Insert_Policy>
S_forany::_slice_type *& TAO::Ret_Fixed_Array_Argument_T< S_var, S_forany, Insert_Policy >::arg ( void   ) 

Definition at line 103 of file Fixed_Array_Argument_T.inl.

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

template<typename S_var , typename S_forany , template< typename > class Insert_Policy>
CORBA::Boolean TAO::Ret_Fixed_Array_Argument_T< S_var, S_forany, Insert_Policy >::demarshal ( TAO_InputCDR  )  [virtual]

Demarshal the argument from the given CDR input stream.

Note:
The default implementation simply returns true.

Reimplemented from TAO::Argument.

Definition at line 132 of file Fixed_Array_Argument_T.cpp.

{
  typedef TAO::Array_Traits<S_forany> ARRAY_TRAITS;
  typename S_forany::_slice_type * tmp_ptr = 0;
  ACE_ALLOCATOR_RETURN (tmp_ptr,
                        ARRAY_TRAITS::alloc (),
                        false);
  this->x_ = tmp_ptr;
  S_forany tmp (this->x_.ptr ());
  return cdr >> tmp;
}

template<typename S_var , typename S_forany , template< typename > class Insert_Policy>
S_forany::_slice_type * TAO::Ret_Fixed_Array_Argument_T< S_var, S_forany, Insert_Policy >::excp ( void   ) 

Definition at line 113 of file Fixed_Array_Argument_T.inl.

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

template<typename S_var , typename S_forany , template< typename > class Insert_Policy>
void TAO::Ret_Fixed_Array_Argument_T< S_var, 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 151 of file Fixed_Array_Argument_T.cpp.

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

template<typename S_var , typename S_forany , template< typename > class Insert_Policy>
S_forany::_slice_type * TAO::Ret_Fixed_Array_Argument_T< S_var, S_forany, Insert_Policy >::retn ( void   ) 

Definition at line 123 of file Fixed_Array_Argument_T.inl.

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


Member Data Documentation

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

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