Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / PortableServer / UB_String_SArgument_T.cpp
blob1f3d68a1828dcfc6975037b94c669e821880f38e
1 #ifndef TAO_UB_STRING_SARGUMENT_T_CPP
2 #define TAO_UB_STRING_SARGUMENT_T_CPP
4 #if !defined (__ACE_INLINE__)
5 #include "tao/PortableServer/UB_String_SArgument_T.inl"
6 #endif /* __ACE_INLINE__ */
8 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
10 template<typename S, typename S_var>
11 CORBA::Boolean
12 TAO::In_UB_String_SArgument_T<S,S_var>::demarshal (TAO_InputCDR &cdr)
14 return cdr >> this->x_.out ();
17 #if TAO_HAS_INTERCEPTORS == 1
19 template<typename S, typename S_var>
20 void
21 TAO::In_UB_String_SArgument_T<S,S_var>::interceptor_value (
22 CORBA::Any *any) const
24 (*any) <<= this->x_.in ();
27 #endif /* TAO_HAS_INTERCEPTORS */
29 // ===========================================================
31 template<typename S, typename S_var>
32 CORBA::Boolean
33 TAO::Inout_UB_String_SArgument_T<S,S_var>::marshal (TAO_OutputCDR &cdr)
35 return cdr << this->x_.in ();
38 template<typename S, typename S_var>
39 CORBA::Boolean
40 TAO::Inout_UB_String_SArgument_T<S,S_var>::demarshal (TAO_InputCDR & cdr)
42 return cdr >> this->x_.out ();
45 #if TAO_HAS_INTERCEPTORS == 1
47 template<typename S, typename S_var>
48 void
49 TAO::Inout_UB_String_SArgument_T<S,S_var>::interceptor_value (
50 CORBA::Any *any) const
52 (*any) <<= this->x_.in ();
55 #endif /* TAO_HAS_INTERCEPTORS */
57 // ==============================================================
59 template<typename S, typename S_var>
60 CORBA::Boolean
61 TAO::Out_UB_String_SArgument_T<S,S_var>::marshal (TAO_OutputCDR &cdr)
63 return cdr << this->x_.in ();
66 #if TAO_HAS_INTERCEPTORS == 1
68 template<typename S, typename S_var>
69 void
70 TAO::Out_UB_String_SArgument_T<S,S_var>::interceptor_value (
71 CORBA::Any *any) const
73 (*any) <<= this->x_.in ();
76 #endif /* TAO_HAS_INTERCEPTORS */
78 // ============================================================
80 template<typename S, typename S_var>
81 CORBA::Boolean
82 TAO::Ret_UB_String_SArgument_T<S,S_var>::marshal (TAO_OutputCDR &cdr)
84 return cdr << this->x_.in ();
87 #if TAO_HAS_INTERCEPTORS == 1
89 template<typename S, typename S_var>
90 void
91 TAO::Ret_UB_String_SArgument_T<S,S_var>::interceptor_value (
92 CORBA::Any *any) const
94 (*any) <<= this->x_.in ();
97 #endif /* TAO_HAS_INTERCEPTORS */
99 TAO_END_VERSIONED_NAMESPACE_DECL
101 #endif /* TAO_UB_STRING_SARGUMENT_T_CPP */