Special_Basic_SArgument_T.cpp

Go to the documentation of this file.
00001 // $Id: Special_Basic_SArgument_T.cpp 73268 2006-06-27 06:23:42Z jwillemsen $
00002 
00003 #ifndef TAO_SPECIAL_BASIC_SARGUMENT_T_CPP
00004 #define TAO_SPECIAL_BASIC_SARGUMENT_T_CPP
00005 
00006 #include "tao/PortableServer/Special_Basic_SArgument_T.h"
00007 
00008 #if !defined (__ACE_INLINE__)
00009 #include "tao/PortableServer/Special_Basic_SArgument_T.inl"
00010 #endif /* __ACE_INLINE__ */
00011 
00012 
00013 // ============================================================
00014 
00015 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00016 
00017 template<typename S,
00018          typename to_S,
00019          typename from_S,
00020          class Insert_Policy>
00021 CORBA::Boolean
00022 TAO::In_Special_Basic_SArgument_T<S,to_S,from_S,Insert_Policy>::demarshal (
00023     TAO_InputCDR & cdr
00024   )
00025 {
00026   return cdr >> to_S (this->x_);
00027 }
00028 
00029 #if TAO_HAS_INTERCEPTORS == 1
00030 
00031 template<typename S,
00032          typename to_S,
00033          typename from_S,
00034          class Insert_Policy>
00035 void
00036 TAO::In_Special_Basic_SArgument_T<S,to_S,from_S,Insert_Policy>::
00037 interceptor_value (CORBA::Any *any) const
00038 {
00039   Insert_Policy::any_insert (any, from_S (this->x_));
00040 }
00041 
00042 #endif /* TAO_HAS_INTERCEPTORS */
00043 
00044 // ===========================================================
00045 
00046 template<typename S,
00047          typename to_S,
00048          typename from_S,
00049          class Insert_Policy>
00050 CORBA::Boolean
00051 TAO::Inout_Special_Basic_SArgument_T<S,to_S,from_S,Insert_Policy>::marshal (
00052     TAO_OutputCDR & cdr
00053   )
00054 {
00055   return cdr << from_S (this->x_);
00056 }
00057 
00058 template<typename S,
00059          typename to_S,
00060          typename from_S,
00061          class Insert_Policy>
00062 CORBA::Boolean
00063 TAO::Inout_Special_Basic_SArgument_T<S,to_S,from_S,Insert_Policy>::demarshal (
00064     TAO_InputCDR & cdr
00065   )
00066 {
00067   return cdr >> to_S (this->x_);
00068 }
00069 
00070 #if TAO_HAS_INTERCEPTORS == 1
00071 
00072 template<typename S,
00073          typename to_S,
00074          typename from_S,
00075          class Insert_Policy>
00076 void
00077 TAO::Inout_Special_Basic_SArgument_T<S,to_S,from_S,Insert_Policy>::
00078 interceptor_value (CORBA::Any *any) const
00079 {
00080   Insert_Policy::any_insert (any, from_S (this->x_));
00081 }
00082 
00083 #endif /* TAO_HAS_INTERCEPTORS */
00084 
00085 // ==============================================================
00086 
00087 template<typename S,
00088          typename to_S,
00089          typename from_S,
00090          class Insert_Policy>
00091 CORBA::Boolean
00092 TAO::Out_Special_Basic_SArgument_T<S,to_S,from_S,Insert_Policy>::marshal (
00093     TAO_OutputCDR & cdr
00094   )
00095 {
00096   return cdr << from_S (this->x_);
00097 }
00098 
00099 #if TAO_HAS_INTERCEPTORS == 1
00100 
00101 template<typename S,
00102          typename to_S,
00103          typename from_S,
00104          class Insert_Policy>
00105 void
00106 TAO::Out_Special_Basic_SArgument_T<S,to_S,from_S,Insert_Policy>::
00107 interceptor_value (CORBA::Any *any) const
00108 {
00109   Insert_Policy::any_insert (any, from_S (this->x_));
00110 }
00111 
00112 #endif /* TAO_HAS_INTERCEPTORS */
00113 
00114 // ==============================================================
00115 
00116 template<typename S,
00117          typename to_S,
00118          typename from_S,
00119          class Insert_Policy>
00120 CORBA::Boolean
00121 TAO::Ret_Special_Basic_SArgument_T<S,to_S,from_S,Insert_Policy>::marshal (
00122     TAO_OutputCDR & cdr
00123   )
00124 {
00125   return cdr << from_S (this->x_);
00126 }
00127 
00128 #if TAO_HAS_INTERCEPTORS == 1
00129 
00130 template<typename S,
00131          typename to_S,
00132          typename from_S,
00133          class Insert_Policy>
00134 void
00135 TAO::Ret_Special_Basic_SArgument_T<S,to_S,from_S,Insert_Policy>::
00136 interceptor_value (CORBA::Any *any) const
00137 {
00138   Insert_Policy::any_insert (any, from_S (this->x_));
00139 }
00140 
00141 #endif /* TAO_HAS_INTERCEPTORS */
00142 
00143 TAO_END_VERSIONED_NAMESPACE_DECL
00144 
00145 #endif /* TAO_SPECIAL_BASIC_SARGUMENT_T_CPP */

Generated on Tue Feb 2 17:40:54 2010 for TAO_PortableServer by  doxygen 1.4.7