1 #ifndef TAO_OBJECT_SARGUMENT_T_CPP
2 #define TAO_OBJECT_SARGUMENT_T_CPP
4 #if !defined (__ACE_INLINE__)
5 #include "tao/PortableServer/Object_SArgument_T.inl"
6 #endif /* __ACE_INLINE__ */
8 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
10 template<typename S_ptr
,
12 template <typename
> class Insert_Policy
>
14 TAO::In_Object_SArgument_T
<S_ptr
,S_var
,Insert_Policy
>::demarshal (TAO_InputCDR
&cdr
)
16 return cdr
>> this->x_
.out ();
19 #if TAO_HAS_INTERCEPTORS == 1
21 template<typename S_ptr
,
23 template <typename
> class Insert_Policy
>
25 TAO::In_Object_SArgument_T
<S_ptr
,S_var
,Insert_Policy
>::interceptor_value (
26 CORBA::Any
*any
) const
28 Insert_Policy
<S_ptr
>::any_insert (any
, this->x_
.in ());
31 #endif /* TAO_HAS_INTERCEPTORS */
33 // ===========================================================
35 template<typename S_ptr
,
37 template <typename
> class Insert_Policy
>
39 TAO::Inout_Object_SArgument_T
<S_ptr
,S_var
,Insert_Policy
>::marshal (TAO_OutputCDR
&cdr
)
41 return cdr
<< this->x_
.in ();
44 template<typename S_ptr
,
46 template <typename
> class Insert_Policy
>
48 TAO::Inout_Object_SArgument_T
<S_ptr
,S_var
,Insert_Policy
>::demarshal (TAO_InputCDR
& cdr
)
50 return cdr
>> this->x_
.out ();
53 #if TAO_HAS_INTERCEPTORS == 1
55 template<typename S_ptr
,
57 template <typename
> class Insert_Policy
>
59 TAO::Inout_Object_SArgument_T
<S_ptr
,S_var
,Insert_Policy
>::interceptor_value (
60 CORBA::Any
*any
) const
62 Insert_Policy
<S_ptr
>::any_insert (any
, this->x_
.in ());
65 #endif /* TAO_HAS_INTERCEPTORS */
67 // ==============================================================
69 template<typename S_ptr
,
72 template <typename
> class Insert_Policy
>
74 TAO::Out_Object_SArgument_T
<S_ptr
,S_var
,S_out
,Insert_Policy
>::marshal (TAO_OutputCDR
&cdr
)
76 return cdr
<< this->x_
.in ();
79 #if TAO_HAS_INTERCEPTORS == 1
81 template<typename S_ptr
,
84 template <typename
> class Insert_Policy
>
86 TAO::Out_Object_SArgument_T
<S_ptr
,S_var
,S_out
,Insert_Policy
>::interceptor_value (
87 CORBA::Any
*any
) const
89 Insert_Policy
<S_ptr
>::any_insert (any
, this->x_
.in ());
92 #endif /* TAO_HAS_INTERCEPTORS */
94 // ============================================================
96 template<typename S_ptr
,
98 template <typename
> class Insert_Policy
>
100 TAO::Ret_Object_SArgument_T
<S_ptr
,S_var
,Insert_Policy
>::marshal (TAO_OutputCDR
&cdr
)
102 return cdr
<< this->x_
.in ();
105 #if TAO_HAS_INTERCEPTORS == 1
107 template<typename S_ptr
,
109 template <typename
> class Insert_Policy
>
111 TAO::Ret_Object_SArgument_T
<S_ptr
,S_var
,Insert_Policy
>::interceptor_value (
112 CORBA::Any
*any
) const
114 Insert_Policy
<S_ptr
>::any_insert (any
, this->x_
.in ());
117 #endif /* TAO_HAS_INTERCEPTORS */
119 TAO_END_VERSIONED_NAMESPACE_DECL
121 #endif /* TAO_OBJECT_SARGUMENT_T_CPP */