Public Member Functions | Private Attributes

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

Template class for OUT skeleton argument of fixed size IDL types. More...

#include <Var_Size_SArgument_T.h>

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

List of all members.

Public Member Functions

 Out_Var_Size_SArgument_T (void)
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 *& arg (void)

Private Attributes

S::_var_type x_

Detailed Description

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

Template class for OUT skeleton argument of fixed size IDL types.

Definition at line 81 of file Var_Size_SArgument_T.h.


Constructor & Destructor Documentation

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

Definition at line 37 of file Var_Size_SArgument_T.inl.

{
}


Member Function Documentation

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

Definition at line 44 of file Var_Size_SArgument_T.inl.

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

template<typename S , template< typename > class Insert_Policy>
void TAO::Out_Var_Size_SArgument_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 88 of file Var_Size_SArgument_T.cpp.

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

template<typename S , template< typename > class Insert_Policy>
CORBA::Boolean TAO::Out_Var_Size_SArgument_T< S, 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 75 of file Var_Size_SArgument_T.cpp.

{
  if (0 == this->x_.ptr())
    throw ::CORBA::BAD_PARAM(0, CORBA::COMPLETED_MAYBE);

  return cdr << this->x_.in ();
}


Member Data Documentation

template<typename S , template< typename > class Insert_Policy>
S::_var_type TAO::Out_Var_Size_SArgument_T< S, Insert_Policy >::x_ [private]

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