Updated logging to include the class/method so that it is more obvious where these...
[ACE_TAO.git] / TAO / tao / PortableServer / Special_Basic_SArgument_T.cpp
blob8846e19f05b81a8364a56a516a0e507745c25c1f
1 #ifndef TAO_SPECIAL_BASIC_SARGUMENT_T_CPP
2 #define TAO_SPECIAL_BASIC_SARGUMENT_T_CPP
4 #if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
5 #include "tao/PortableServer/Special_Basic_SArgument_T.h"
6 #endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */
8 #if !defined (__ACE_INLINE__)
9 #include "tao/PortableServer/Special_Basic_SArgument_T.inl"
10 #endif /* __ACE_INLINE__ */
13 // ============================================================
15 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
17 template<typename S,
18 typename to_S,
19 typename from_S,
20 template <typename> class Insert_Policy>
21 CORBA::Boolean
22 TAO::In_Special_Basic_SArgument_T<S,to_S,from_S,Insert_Policy>::demarshal (
23 TAO_InputCDR & cdr
26 return cdr >> to_S (this->x_);
29 #if TAO_HAS_INTERCEPTORS == 1
31 template<typename S,
32 typename to_S,
33 typename from_S,
34 template <typename> class Insert_Policy>
35 void
36 TAO::In_Special_Basic_SArgument_T<S,to_S,from_S,Insert_Policy>::
37 interceptor_value (CORBA::Any *any) const
39 Insert_Policy<from_S>::any_insert (any, from_S (this->x_));
42 #endif /* TAO_HAS_INTERCEPTORS */
44 // ===========================================================
46 template<typename S,
47 typename to_S,
48 typename from_S,
49 template <typename> class Insert_Policy>
50 CORBA::Boolean
51 TAO::Inout_Special_Basic_SArgument_T<S,to_S,from_S,Insert_Policy>::marshal (
52 TAO_OutputCDR & cdr
55 return cdr << from_S (this->x_);
58 template<typename S,
59 typename to_S,
60 typename from_S,
61 template <typename> class Insert_Policy>
62 CORBA::Boolean
63 TAO::Inout_Special_Basic_SArgument_T<S,to_S,from_S,Insert_Policy>::demarshal (
64 TAO_InputCDR & cdr
67 return cdr >> to_S (this->x_);
70 #if TAO_HAS_INTERCEPTORS == 1
72 template<typename S,
73 typename to_S,
74 typename from_S,
75 template <typename> class Insert_Policy>
76 void
77 TAO::Inout_Special_Basic_SArgument_T<S,to_S,from_S,Insert_Policy>::
78 interceptor_value (CORBA::Any *any) const
80 Insert_Policy<from_S>::any_insert (any, from_S (this->x_));
83 #endif /* TAO_HAS_INTERCEPTORS */
85 // ==============================================================
87 template<typename S,
88 typename to_S,
89 typename from_S,
90 template <typename> class Insert_Policy>
91 CORBA::Boolean
92 TAO::Out_Special_Basic_SArgument_T<S,to_S,from_S,Insert_Policy>::marshal (
93 TAO_OutputCDR & cdr
96 return cdr << from_S (this->x_);
99 #if TAO_HAS_INTERCEPTORS == 1
101 template<typename S,
102 typename to_S,
103 typename from_S,
104 template <typename> class Insert_Policy>
105 void
106 TAO::Out_Special_Basic_SArgument_T<S,to_S,from_S,Insert_Policy>::
107 interceptor_value (CORBA::Any *any) const
109 Insert_Policy<from_S>::any_insert (any, from_S (this->x_));
112 #endif /* TAO_HAS_INTERCEPTORS */
114 // ==============================================================
116 template<typename S,
117 typename to_S,
118 typename from_S,
119 template <typename> class Insert_Policy>
120 CORBA::Boolean
121 TAO::Ret_Special_Basic_SArgument_T<S,to_S,from_S,Insert_Policy>::marshal (
122 TAO_OutputCDR & cdr
125 return cdr << from_S (this->x_);
128 #if TAO_HAS_INTERCEPTORS == 1
130 template<typename S,
131 typename to_S,
132 typename from_S,
133 template <typename> class Insert_Policy>
134 void
135 TAO::Ret_Special_Basic_SArgument_T<S,to_S,from_S,Insert_Policy>::
136 interceptor_value (CORBA::Any *any) const
138 Insert_Policy<from_S>::any_insert (any, from_S (this->x_));
141 #endif /* TAO_HAS_INTERCEPTORS */
143 TAO_END_VERSIONED_NAMESPACE_DECL
145 #endif /* TAO_SPECIAL_BASIC_SARGUMENT_T_CPP */