Fixed_Size_Argument_T.cpp

Go to the documentation of this file.
00001 // Fixed_Size_Argument_T.cpp,v 1.8 2006/06/27 06:22:13 jwillemsen Exp
00002 
00003 #ifndef TAO_FIXED_SIZE_ARGUMENT_T_CPP
00004 #define TAO_FIXED_SIZE_ARGUMENT_T_CPP
00005 
00006 #include "tao/Fixed_Size_Argument_T.h"
00007 
00008 #if !defined (__ACE_INLINE__)
00009 #include "tao/Fixed_Size_Argument_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_Argument_T<S,Insert_Policy>::marshal (TAO_OutputCDR &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_Argument_T<S,Insert_Policy>::interceptor_value (CORBA::Any *any) const
00028 {
00029   Insert_Policy::any_insert (any, *this->x_);
00030 }
00031 
00032 #endif /* TAO_HAS_INTERCEPTORS */
00033 
00034 // ===========================================================
00035 
00036 template<typename S,
00037          class Insert_Policy>
00038 CORBA::Boolean
00039 TAO::Inout_Fixed_Size_Argument_T<S,Insert_Policy>::marshal (TAO_OutputCDR &cdr)
00040 {
00041   return cdr << *this->x_;
00042 }
00043 
00044 template<typename S,
00045          class Insert_Policy>
00046 CORBA::Boolean
00047 TAO::Inout_Fixed_Size_Argument_T<S,Insert_Policy>::demarshal (TAO_InputCDR & cdr)
00048 {
00049   return cdr >> *this->x_;
00050 }
00051 
00052 #if TAO_HAS_INTERCEPTORS == 1
00053 
00054 template<typename S,
00055          class Insert_Policy>
00056 void
00057 TAO::Inout_Fixed_Size_Argument_T<S,Insert_Policy>::interceptor_value (CORBA::Any *any) const
00058 {
00059   Insert_Policy::any_insert (any, *this->x_);
00060 }
00061 
00062 #endif /* TAO_HAS_INTERCEPTORS */
00063 
00064 // ==============================================================
00065 
00066 template<typename S,
00067          class Insert_Policy>
00068 CORBA::Boolean
00069 TAO::Out_Fixed_Size_Argument_T<S,Insert_Policy>::demarshal (TAO_InputCDR & cdr)
00070 {
00071   return cdr >> this->x_;
00072 }
00073 
00074 #if TAO_HAS_INTERCEPTORS == 1
00075 
00076 template<typename S,
00077          class Insert_Policy>
00078 void
00079 TAO::Out_Fixed_Size_Argument_T<S,Insert_Policy>::interceptor_value (CORBA::Any *any) const
00080 {
00081   Insert_Policy::any_insert (any, this->x_);
00082 }
00083 
00084 #endif /* TAO_HAS_INTERCEPTORS */
00085 
00086 // ============================================================
00087 
00088 template<typename S,
00089          class Insert_Policy>
00090 CORBA::Boolean
00091 TAO::Ret_Fixed_Size_Argument_T<S,Insert_Policy>::demarshal (TAO_InputCDR & cdr)
00092 {
00093   return cdr >> this->x_;
00094 }
00095 
00096 #if TAO_HAS_INTERCEPTORS == 1
00097 
00098 template<typename S,
00099          class Insert_Policy>
00100 void
00101 TAO::Ret_Fixed_Size_Argument_T<S,Insert_Policy>::
00102 interceptor_value (CORBA::Any *any) const
00103 {
00104   Insert_Policy::any_insert (any, this->x_);
00105 }
00106 
00107 #endif /* TAO_HAS_INTERCEPTORS */
00108 
00109 TAO_END_VERSIONED_NAMESPACE_DECL
00110 
00111 #endif /* TAO_FIXED_SIZE_ARGUMENT_T_CPP */

Generated on Thu Nov 9 11:54:11 2006 for TAO by doxygen 1.3.6