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)
virtual void interceptor_value (CORBA::Any *any) const
S *& arg (void)

Private Attributes

S::_var_type x_

Detailed Description

template<typename S, 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, class Insert_Policy>
ACE_INLINE 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.

00038 {
00039 }


Member Function Documentation

template<typename S, 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.

References TAO::Out_Var_Size_SArgument_T< S, Insert_Policy >::x_.

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

template<typename S, class Insert_Policy>
void TAO::Out_Var_Size_SArgument_T< S, Insert_Policy >::interceptor_value ( CORBA::Any *  any  )  const [virtual]

Definition at line 87 of file Var_Size_SArgument_T.cpp.

00089 {
00090   Insert_Policy::any_insert (any, this->x_.in ());
00091 }

template<typename S, class Insert_Policy>
CORBA::Boolean TAO::Out_Var_Size_SArgument_T< S, Insert_Policy >::marshal ( TAO_OutputCDR cdr  )  [virtual]

Definition at line 74 of file Var_Size_SArgument_T.cpp.

References CORBA::COMPLETED_MAYBE, and TAO::Out_Var_Size_SArgument_T< S, Insert_Policy >::x_.

00075 {
00076   if (0 == this->x_.ptr())
00077     throw ::CORBA::BAD_PARAM(0, CORBA::COMPLETED_MAYBE);
00078 
00079   return cdr << this->x_.in ();
00080 }


Member Data Documentation

template<typename S, 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.

Referenced by TAO::Out_Var_Size_SArgument_T< S, Insert_Policy >::arg(), and TAO::Out_Var_Size_SArgument_T< S, Insert_Policy >::marshal().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:41:27 2010 for TAO_PortableServer by  doxygen 1.4.7