TAO::In_UB_String_Argument_T< S_var, Insert_Policy > Class Template Reference

Template class for IN unbounded (w)string argument. More...

#include <UB_String_Argument_T.h>

Inheritance diagram for TAO::In_UB_String_Argument_T< S_var, Insert_Policy >:

Inheritance graph
[legend]
Collaboration diagram for TAO::In_UB_String_Argument_T< S_var, Insert_Policy >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 In_UB_String_Argument_T (const typename S_var::s_traits::char_type *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.

const S_var::s_traits::char_type * arg (void) const

Private Attributes

S_var::s_traits::char_type
const * 
x_

Detailed Description

template<typename S_var, class Insert_Policy>
class TAO::In_UB_String_Argument_T< S_var, Insert_Policy >

Template class for IN unbounded (w)string argument.

Definition at line 37 of file UB_String_Argument_T.h.


Constructor & Destructor Documentation

template<typename S_var, class Insert_Policy>
TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO::In_UB_String_Argument_T< S_var, Insert_Policy >::In_UB_String_Argument_T const typename S_var::s_traits::char_type *  x  ) 
 

Definition at line 10 of file UB_String_Argument_T.inl.

00012   : x_ (x)
00013 {}


Member Function Documentation

template<typename S_var, class Insert_Policy>
ACE_INLINE const S_var::s_traits::char_type * TAO::In_UB_String_Argument_T< S_var, Insert_Policy >::arg void   )  const
 

Definition at line 19 of file UB_String_Argument_T.inl.

00020 {
00021   return this->x_;
00022 }

template<typename S_var, class Insert_Policy>
void TAO::In_UB_String_Argument_T< S_var, 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 30 of file UB_String_Argument_T.cpp.

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

template<typename S_var, class Insert_Policy>
TAO_BEGIN_VERSIONED_NAMESPACE_DECL CORBA::Boolean TAO::In_UB_String_Argument_T< S_var, 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 18 of file UB_String_Argument_T.cpp.

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


Member Data Documentation

template<typename S_var, class Insert_Policy>
S_var::s_traits::char_type const* TAO::In_UB_String_Argument_T< S_var, Insert_Policy >::x_ [private]
 

Definition at line 49 of file UB_String_Argument_T.h.


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