TAO::Inout_Special_Basic_Argument_T< S, to_S, from_S, Insert_Policy > Class Template Reference

Template class for INOUT stub argument of (w)char/boolean/octet. More...

#include <Special_Basic_Argument_T.h>

Inheritance diagram for TAO::Inout_Special_Basic_Argument_T< S, to_S, from_S, Insert_Policy >:

Inheritance graph
[legend]
Collaboration diagram for TAO::Inout_Special_Basic_Argument_T< S, to_S, from_S, Insert_Policy >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Private Attributes

S & x_

Detailed Description

template<typename S, typename to_S, typename from_S, class Insert_Policy>
class TAO::Inout_Special_Basic_Argument_T< S, to_S, from_S, Insert_Policy >

Template class for INOUT stub argument of (w)char/boolean/octet.

Definition at line 65 of file Special_Basic_Argument_T.h.


Constructor & Destructor Documentation

template<typename S, typename to_S, typename from_S, class Insert_Policy>
ACE_INLINE TAO::Inout_Special_Basic_Argument_T< S, to_S, from_S, Insert_Policy >::Inout_Special_Basic_Argument_T S &  x  ) 
 

Definition at line 37 of file Special_Basic_Argument_T.inl.

00038   : x_ (x)
00039 {}


Member Function Documentation

template<typename S, typename to_S, typename from_S, class Insert_Policy>
ACE_INLINE S & TAO::Inout_Special_Basic_Argument_T< S, to_S, from_S, Insert_Policy >::arg void   ) 
 

Definition at line 47 of file Special_Basic_Argument_T.inl.

00048 {
00049   return this->x_;
00050 }

template<typename S, typename to_S, typename from_S, class Insert_Policy>
CORBA::Boolean TAO::Inout_Special_Basic_Argument_T< S, to_S, from_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 58 of file Special_Basic_Argument_T.cpp.

00061 {
00062   return cdr >> to_S (this->x_);
00063 }

template<typename S, typename to_S, typename from_S, class Insert_Policy>
void TAO::Inout_Special_Basic_Argument_T< S, to_S, from_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 72 of file Special_Basic_Argument_T.cpp.

00074 {
00075   Insert_Policy::any_insert (any, from_S (this->x_));
00076 }

template<typename S, typename to_S, typename from_S, class Insert_Policy>
CORBA::Boolean TAO::Inout_Special_Basic_Argument_T< S, to_S, from_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 47 of file Special_Basic_Argument_T.cpp.

00049 {
00050   return cdr << from_S (this->x_);
00051 }


Member Data Documentation

template<typename S, typename to_S, typename from_S, class Insert_Policy>
S& TAO::Inout_Special_Basic_Argument_T< S, to_S, from_S, Insert_Policy >::x_ [private]
 

Definition at line 78 of file Special_Basic_Argument_T.h.


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