Public Member Functions | Protected Attributes

TAO::Ret_Var_Size_Argument_T< S, Insert_Policy > Class Template Reference

Template class for return stub value of fixed size IDL types. More...

#include <Var_Size_Argument_T.h>

Inheritance diagram for TAO::Ret_Var_Size_Argument_T< S, Insert_Policy >:
Inheritance graph
[legend]
Collaboration diagram for TAO::Ret_Var_Size_Argument_T< S, Insert_Policy >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Ret_Var_Size_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 *& arg (void)
S * excp (void)
S * retn (void)

Protected Attributes

S::_var_type x_

Detailed Description

template<typename S, template< typename > class Insert_Policy>
class TAO::Ret_Var_Size_Argument_T< S, Insert_Policy >

Template class for return stub value of fixed size IDL types.

Definition at line 130 of file Var_Size_Argument_T.h.


Constructor & Destructor Documentation

template<typename S , template< typename > class Insert_Policy>
TAO::Ret_Var_Size_Argument_T< S, Insert_Policy >::Ret_Var_Size_Argument_T ( void   ) 

Definition at line 76 of file Var_Size_Argument_T.inl.

{
}


Member Function Documentation

template<typename S , template< typename > class Insert_Policy>
S *& TAO::Ret_Var_Size_Argument_T< S, Insert_Policy >::arg ( void   ) 

Definition at line 84 of file Var_Size_Argument_T.inl.

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

template<typename S , template< typename > class Insert_Policy>
CORBA::Boolean TAO::Ret_Var_Size_Argument_T< S, 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 Var_Size_Argument_T.cpp.

{
  S * tmp = 0;
  ACE_NEW_RETURN (tmp,
                  S (),
                  0);
  this->x_ = tmp;
  return cdr >> this->x_.inout ();
}

template<typename S , template< typename > class Insert_Policy>
S * TAO::Ret_Var_Size_Argument_T< S, Insert_Policy >::excp ( void   ) 

Definition at line 93 of file Var_Size_Argument_T.inl.

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

template<typename S , template< typename > class Insert_Policy>
void TAO::Ret_Var_Size_Argument_T< S, 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 149 of file Var_Size_Argument_T.cpp.

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

template<typename S , template< typename > class Insert_Policy>
S * TAO::Ret_Var_Size_Argument_T< S, Insert_Policy >::retn ( void   ) 

Definition at line 102 of file Var_Size_Argument_T.inl.

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


Member Data Documentation

template<typename S , template< typename > class Insert_Policy>
S::_var_type TAO::Ret_Var_Size_Argument_T< S, Insert_Policy >::x_ [protected]

Definition at line 145 of file Var_Size_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