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

Template class for IN stub argument of fixed size IDL types. More...

#include <Var_Size_Argument_T.h>

Inheritance diagram for TAO::In_Var_Size_Argument_T< S, Insert_Policy >:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 In_Var_Size_Argument_T (S const &x)
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 const & arg (void) const

Private Attributes

const S * x_

Detailed Description

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

Template class for IN stub argument of fixed size IDL types.

Definition at line 36 of file Var_Size_Argument_T.h.


Constructor & Destructor Documentation

template<typename S, class Insert_Policy>
TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO::In_Var_Size_Argument_T< S, Insert_Policy >::In_Var_Size_Argument_T S const &  x  ) 
 

Definition at line 10 of file Var_Size_Argument_T.inl.

00011   : x_ (&x)
00012 {
00013 }


Member Function Documentation

template<typename S, class Insert_Policy>
ACE_INLINE const S & TAO::In_Var_Size_Argument_T< S, Insert_Policy >::arg void   )  const
 

Definition at line 19 of file Var_Size_Argument_T.inl.

00020 {
00021   return *this->x_;
00022 }

template<typename S, class Insert_Policy>
void TAO::In_Var_Size_Argument_T< S, Insert_Policy >::interceptor_value CORBA::Any *  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 27 of file Var_Size_Argument_T.cpp.

00030 {
00031   Insert_Policy::any_insert (any, *this->x_);
00032 }

template<typename S, class Insert_Policy>
TAO_BEGIN_VERSIONED_NAMESPACE_DECL CORBA::Boolean TAO::In_Var_Size_Argument_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 17 of file Var_Size_Argument_T.cpp.

00018 {
00019   return cdr << *this->x_;
00020 }


Member Data Documentation

template<typename S, class Insert_Policy>
const S* TAO::In_Var_Size_Argument_T< S, Insert_Policy >::x_ [private]
 

Definition at line 48 of file Var_Size_Argument_T.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 12:27:28 2006 for TAO by doxygen 1.3.6