TAO::Inout_BD_String_SArgument_T< S_var, BOUND, Insert_Policy > Class Template Reference

Template class for INOUT skeleton bd (w)string argument. More...

#include <BD_String_SArgument_T.h>

Inheritance diagram for TAO::Inout_BD_String_SArgument_T< S_var, BOUND, Insert_Policy >:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Inout_BD_String_SArgument_T (void)
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr)
virtual CORBA::Boolean demarshal (TAO_InputCDR &)
virtual void interceptor_value (CORBA::Any *any) const
S_var::s_traits::char_type *& arg (void)

Private Attributes

S_var x_

Detailed Description

template<typename S_var, size_t BOUND, class Insert_Policy>
class TAO::Inout_BD_String_SArgument_T< S_var, BOUND, Insert_Policy >

Template class for INOUT skeleton bd (w)string argument.

Definition at line 65 of file BD_String_SArgument_T.h.


Constructor & Destructor Documentation

template<typename S_var, size_t BOUND, class Insert_Policy>
ACE_INLINE TAO::Inout_BD_String_SArgument_T< S_var, BOUND, Insert_Policy >::Inout_BD_String_SArgument_T ( void   ) 

Definition at line 33 of file BD_String_SArgument_T.inl.

00034 {}


Member Function Documentation

template<typename S_var, size_t BOUND, class Insert_Policy>
ACE_INLINE S_var::s_traits::char_type *& TAO::Inout_BD_String_SArgument_T< S_var, BOUND, Insert_Policy >::arg ( void   ) 

Definition at line 42 of file BD_String_SArgument_T.inl.

References TAO::Inout_BD_String_SArgument_T< S_var, BOUND, Insert_Policy >::x_.

00043 {
00044   return this->x_.inout ();
00045 }

template<typename S_var, size_t BOUND, class Insert_Policy>
CORBA::Boolean TAO::Inout_BD_String_SArgument_T< S_var, BOUND, Insert_Policy >::demarshal ( TAO_InputCDR  )  [virtual]

Definition at line 62 of file BD_String_SArgument_T.cpp.

00065 {
00066   typedef typename S_var::s_traits::to_type to_type;
00067   return cdr >> to_type (this->x_.out (), BOUND);
00068 }

template<typename S_var, size_t BOUND, class Insert_Policy>
void TAO::Inout_BD_String_SArgument_T< S_var, BOUND, Insert_Policy >::interceptor_value ( CORBA::Any *  any  )  const [virtual]

Definition at line 77 of file BD_String_SArgument_T.cpp.

00078 {
00079   typedef typename S_var::s_traits::from_type from_type;
00080   Insert_Policy::any_insert (
00081       any,
00082       from_type (this->x_.in (), BOUND)
00083     );
00084 }

template<typename S_var, size_t BOUND, class Insert_Policy>
CORBA::Boolean TAO::Inout_BD_String_SArgument_T< S_var, BOUND, Insert_Policy >::marshal ( TAO_OutputCDR cdr  )  [virtual]

Definition at line 50 of file BD_String_SArgument_T.cpp.

00053 {
00054   typedef typename S_var::s_traits::from_type from_type;
00055   return cdr << from_type (this->x_.in (), BOUND);
00056 }


Member Data Documentation

template<typename S_var, size_t BOUND, class Insert_Policy>
S_var TAO::Inout_BD_String_SArgument_T< S_var, BOUND, Insert_Policy >::x_ [private]

Definition at line 78 of file BD_String_SArgument_T.h.

Referenced by TAO::Inout_BD_String_SArgument_T< S_var, BOUND, Insert_Policy >::arg().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:41:25 2010 for TAO_PortableServer by  doxygen 1.4.7