Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef TAO_BASIC_ARGUMENTS_H
00014 #define TAO_BASIC_ARGUMENTS_H
00015
00016 #include "ace/pre.h"
00017
00018 #include "tao/Basic_Argument_T.h"
00019
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif
00023
00024 #include "tao/Arg_Traits_T.h"
00025 #include "tao/Any_Insert_Policy_T.h"
00026
00027 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00028
00029 namespace TAO
00030 {
00031
00032
00033
00034
00035
00036 template<>
00037 class TAO_Export Arg_Traits<void>
00038 {
00039 public:
00040 typedef void ret_type;
00041
00042 typedef RetArgument ret_val;
00043 typedef Void_Return_Argument
00044 clonable_ret_val;
00045 };
00046
00047
00048
00049
00050
00051
00052
00053
00054 template<>
00055 class TAO_Export Arg_Traits<CORBA::Short>
00056 : public
00057 Basic_Arg_Traits_T<
00058 CORBA::Short,
00059 TAO::Any_Insert_Policy_AnyTypeCode_Adapter>
00060 {
00061 };
00062
00063 template<>
00064 class TAO_Export Arg_Traits<CORBA::Long>
00065 : public
00066 Basic_Arg_Traits_T<
00067 CORBA::Long,
00068 TAO::Any_Insert_Policy_AnyTypeCode_Adapter>
00069 {
00070 };
00071
00072 template<>
00073 class TAO_Export Arg_Traits<CORBA::UShort>
00074 : public
00075 Basic_Arg_Traits_T<
00076 CORBA::UShort,
00077 TAO::Any_Insert_Policy_AnyTypeCode_Adapter>
00078 {
00079 };
00080
00081 template<>
00082 class TAO_Export Arg_Traits<CORBA::ULong>
00083 : public
00084 Basic_Arg_Traits_T<
00085 CORBA::ULong,
00086 TAO::Any_Insert_Policy_AnyTypeCode_Adapter>
00087 {
00088 };
00089
00090 template<>
00091 class TAO_Export Arg_Traits<CORBA::Float>
00092 : public
00093 Basic_Arg_Traits_T<
00094 CORBA::Float,
00095 TAO::Any_Insert_Policy_AnyTypeCode_Adapter>
00096 {
00097 };
00098
00099 template<>
00100 class TAO_Export Arg_Traits<CORBA::Double>
00101 : public
00102 Basic_Arg_Traits_T<
00103 CORBA::Double,
00104 TAO::Any_Insert_Policy_AnyTypeCode_Adapter>
00105 {
00106 };
00107
00108 template<>
00109 class TAO_Export Arg_Traits<CORBA::LongLong>
00110 : public
00111 Basic_Arg_Traits_T<
00112 CORBA::LongLong,
00113 TAO::Any_Insert_Policy_AnyTypeCode_Adapter>
00114 {
00115 };
00116
00117 template<>
00118 class TAO_Export Arg_Traits<CORBA::ULongLong>
00119 : public
00120 Basic_Arg_Traits_T<
00121 CORBA::ULongLong,
00122 TAO::Any_Insert_Policy_AnyTypeCode_Adapter>
00123 {
00124 };
00125
00126 template<>
00127 class TAO_Export Arg_Traits<CORBA::LongDouble>
00128 : public
00129 Basic_Arg_Traits_T<
00130 CORBA::LongDouble,
00131 TAO::Any_Insert_Policy_AnyTypeCode_Adapter>
00132 {
00133 };
00134
00135 template<>
00136 class TAO_Export Arg_Traits<std::string>
00137 : public
00138 Basic_Arg_Traits_T <
00139 std::string,
00140 Any_Insert_Policy_AnyTypeCode_Adapter>
00141 {
00142 };
00143 }
00144
00145 TAO_END_VERSIONED_NAMESPACE_DECL
00146
00147 #include "ace/post.h"
00148
00149 #endif