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

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

#include <Special_Basic_Argument_T.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 In_Special_Basic_Argument_T (S const &)
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

S const & x_

Detailed Description

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

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

Definition at line 40 of file Special_Basic_Argument_T.h.


Constructor & Destructor Documentation

template<typename S, typename to_S, typename from_S, class Insert_Policy>
TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO::In_Special_Basic_Argument_T< S, to_S, from_S, Insert_Policy >::In_Special_Basic_Argument_T S const &   ) 
 

Definition at line 12 of file Special_Basic_Argument_T.inl.

00015   : x_ (x)
00016 {}


Member Function Documentation

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

Definition at line 24 of file Special_Basic_Argument_T.inl.

00025 {
00026   return this->x_;
00027 }

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

00034 {
00035   Insert_Policy::any_insert (any, from_S (this->x_));
00036 }

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

00021 {
00022   return cdr << from_S (this->x_);
00023 }


Member Data Documentation

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

Definition at line 52 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:49 2006 for TAO by doxygen 1.3.6