Public Member Functions | Private Attributes

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

INOUT skeleton argument of variable size element array. More...

#include <Var_Array_SArgument_T.h>

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

List of all members.

Public Member Functions

 Inout_Var_Array_SArgument_T (void)
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr)
 Marshal the argument into the given CDR output stream.
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::_array_type x_

Detailed Description

template<typename S_forany, template< typename > class Insert_Policy>
class TAO::Inout_Var_Array_SArgument_T< S_forany, Insert_Policy >

INOUT skeleton argument of variable size element array.

Definition at line 60 of file Var_Array_SArgument_T.h.


Constructor & Destructor Documentation

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

Definition at line 32 of file Var_Array_SArgument_T.inl.

{
}


Member Function Documentation

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

Definition at line 40 of file Var_Array_SArgument_T.inl.

{
  S_forany tmp (this->x_);
  return tmp.inout ();
}

template<typename S_forany , template< typename > class Insert_Policy>
CORBA::Boolean TAO::Inout_Var_Array_SArgument_T< 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 53 of file Var_Array_SArgument_T.cpp.

{
  S_forany tmp (this->x_);
  return cdr >> tmp;
}

template<typename S_forany , template< typename > class Insert_Policy>
void TAO::Inout_Var_Array_SArgument_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 65 of file Var_Array_SArgument_T.cpp.

{
  typedef typename S_forany::_slice_type slice_type;
  Insert_Policy<S_forany>::any_insert (
      any,
      S_forany (const_cast <slice_type *>(this->x_))
    );
}

template<typename S_forany , template< typename > class Insert_Policy>
CORBA::Boolean TAO::Inout_Var_Array_SArgument_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 44 of file Var_Array_SArgument_T.cpp.

{
  return cdr << S_forany (this->x_);
}


Member Data Documentation

template<typename S_forany , template< typename > class Insert_Policy>
S_forany::_array_type TAO::Inout_Var_Array_SArgument_T< S_forany, Insert_Policy >::x_ [private]

Definition at line 73 of file Var_Array_SArgument_T.h.


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