Public Member Functions | Private Attributes

TAO::Out_Var_Array_Argument_T< S_out, S_forany, Insert_Policy > Class Template Reference

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

#include <Var_Array_Argument_T.h>

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

List of all members.

Public Member Functions

 Out_Var_Array_Argument_T (S_out x)
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)

Private Attributes

S_forany::_slice_type *& x_

Detailed Description

template<typename S_out, typename S_forany, template< typename > class Insert_Policy>
class TAO::Out_Var_Array_Argument_T< S_out, S_forany, Insert_Policy >

OUT stub argument of variable size element array.

Definition at line 105 of file Var_Array_Argument_T.h.


Constructor & Destructor Documentation

template<typename S_out , typename S_forany , template< typename > class Insert_Policy>
TAO::Out_Var_Array_Argument_T< S_out, S_forany, Insert_Policy >::Out_Var_Array_Argument_T ( S_out  x  ) 

Definition at line 61 of file Var_Array_Argument_T.inl.

  : x_ (x.ptr ())
{
}


Member Function Documentation

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

Definition at line 71 of file Var_Array_Argument_T.inl.

{
  return this->x_;
}

template<typename S_out , typename S_forany , template< typename > class Insert_Policy>
CORBA::Boolean TAO::Out_Var_Array_Argument_T< S_out, 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 110 of file Var_Array_Argument_T.cpp.

{
  typedef TAO::Array_Traits<S_forany> ARRAY_TRAITS;
  ACE_ALLOCATOR_RETURN (this->x_,
                        ARRAY_TRAITS::alloc (),
                        0);
  S_forany tmp (this->x_);
  return cdr >> tmp;
}

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

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


Member Data Documentation

template<typename S_out , typename S_forany , template< typename > class Insert_Policy>
S_forany::_slice_type*& TAO::Out_Var_Array_Argument_T< S_out, S_forany, Insert_Policy >::x_ [private]

Definition at line 117 of file Var_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