Fixed_Size_SArgument_T.cpp

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

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