Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / PortableServer / Vector_SArgument_T.cpp
bloba59fc9069c331a4923b725cdfe3a470ad70ec3cb
1 #ifndef TAO_VECTOR_SARGUMENT_T_CPP
2 #define TAO_VECTOR_SARGUMENT_T_CPP
4 #if !defined (__ACE_INLINE__)
5 #include "tao/PortableServer/Vector_SArgument_T.inl"
6 #endif /* __ACE_INLINE__ */
8 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
10 template<typename S,
11 template <typename> class Insert_Policy>
12 CORBA::Boolean
13 TAO::In_Vector_SArgument_T<S,Insert_Policy>::demarshal (TAO_InputCDR &cdr)
15 return cdr >> this->x_;
18 #if TAO_HAS_INTERCEPTORS == 1
20 template<typename S,
21 template <typename> class Insert_Policy>
22 void
23 TAO::In_Vector_SArgument_T<S,Insert_Policy>::interceptor_value (
24 CORBA::Any *any) const
26 Insert_Policy<S>::any_insert (any, this->x_);
29 #endif /* TAO_HAS_INTERCEPTORS */
31 // ===========================================================
33 template<typename S,
34 template <typename> class Insert_Policy>
35 CORBA::Boolean
36 TAO::Inout_Vector_SArgument_T<S,Insert_Policy>::marshal (TAO_OutputCDR &cdr)
38 return cdr << this->x_;
41 template<typename S,
42 template <typename> class Insert_Policy>
43 CORBA::Boolean
44 TAO::Inout_Vector_SArgument_T<S,Insert_Policy>::demarshal (TAO_InputCDR & cdr)
46 return cdr >> this->x_;
49 #if TAO_HAS_INTERCEPTORS == 1
51 template<typename S,
52 template <typename> class Insert_Policy>
53 void
54 TAO::Inout_Vector_SArgument_T<S,Insert_Policy>::interceptor_value (
55 CORBA::Any *any) const
57 Insert_Policy<S>::any_insert (any, this->x_);
60 #endif /* TAO_HAS_INTERCEPTORS */
62 // ==============================================================
64 template<typename S,
65 template <typename> class Insert_Policy>
66 CORBA::Boolean
67 TAO::Out_Vector_SArgument_T<S,Insert_Policy>::marshal (TAO_OutputCDR &cdr)
69 return cdr << this->x_;
72 #if TAO_HAS_INTERCEPTORS == 1
74 template<typename S,
75 template <typename> class Insert_Policy>
76 void
77 TAO::Out_Vector_SArgument_T<S,Insert_Policy>::interceptor_value (
78 CORBA::Any *any) const
80 Insert_Policy<S>::any_insert (any, this->x_);
83 #endif /* TAO_HAS_INTERCEPTORS */
85 // ============================================================
87 template<typename S,
88 template <typename> class Insert_Policy>
89 CORBA::Boolean
90 TAO::Ret_Vector_SArgument_T<S,Insert_Policy>::marshal (TAO_OutputCDR &cdr)
92 return cdr << this->x_;
95 #if TAO_HAS_INTERCEPTORS == 1
97 template<typename S,
98 template <typename> class Insert_Policy>
99 void
100 TAO::Ret_Vector_SArgument_T<S,Insert_Policy>::interceptor_value (
101 CORBA::Any *any) const
103 Insert_Policy<S>::any_insert (any, this->x_);
106 #endif /* TAO_HAS_INTERCEPTORS */
108 TAO_END_VERSIONED_NAMESPACE_DECL
110 #endif /* TAO_VECTOR_SARGUMENT_T_CPP */