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

Template class for return stub value of ub (w)string argument. More...

#include <UB_String_Argument_T.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Ret_UB_String_Argument_T (void)
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_var::s_traits::char_type *& arg (void)
S_var::s_traits::char_type * excp (void)
S_var::s_traits::char_type * retn (void)

Private Attributes

S_var x_

Detailed Description

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

Template class for return stub value of ub (w)string argument.

Definition at line 107 of file UB_String_Argument_T.h.


Constructor & Destructor Documentation

template<typename S_var, class Insert_Policy>
ACE_INLINE TAO::Ret_UB_String_Argument_T< S_var, Insert_Policy >::Ret_UB_String_Argument_T void   ) 
 

Definition at line 69 of file UB_String_Argument_T.inl.

00070 {}


Member Function Documentation

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

Definition at line 76 of file UB_String_Argument_T.inl.

00077 {
00078   return this->x_.out ();
00079 }

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

00112 {
00113   return cdr >> this->x_.out ();
00114 }

template<typename S_var, class Insert_Policy>
ACE_INLINE S_var::s_traits::char_type * TAO::Ret_UB_String_Argument_T< S_var, Insert_Policy >::excp void   ) 
 

Definition at line 85 of file UB_String_Argument_T.inl.

00086 {
00087   return this->x_.ptr ();
00088 }

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

00123 {
00124   Insert_Policy::any_insert (any, this->x_.in ());
00125 }

template<typename S_var, class Insert_Policy>
ACE_INLINE S_var::s_traits::char_type * TAO::Ret_UB_String_Argument_T< S_var, Insert_Policy >::retn void   ) 
 

Definition at line 94 of file UB_String_Argument_T.inl.

00095 {
00096   return this->x_._retn ();
00097 }


Member Data Documentation

template<typename S_var, class Insert_Policy>
S_var TAO::Ret_UB_String_Argument_T< S_var, Insert_Policy >::x_ [private]
 

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