Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef TAO_SPECIAL_BASIC_SARGUMENTS_H
00016 #define TAO_SPECIAL_BASIC_SARGUMENTS_H
00017
00018 #include "ace/pre.h"
00019
00020 #include "tao/PortableServer/portableserver_export.h"
00021
00022 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00023 # pragma once
00024 #endif
00025
00026 #include "tao/PortableServer/Special_Basic_SArgument_T.h"
00027 #include "tao/PortableServer/SArg_Traits_T.h"
00028 #include "tao/Any_Insert_Policy_T.h"
00029
00030 #include "ace/CDR_Stream.h"
00031
00032 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00033
00034 namespace TAO
00035 {
00036
00037
00038
00039
00040
00041
00042 template<>
00043 class TAO_PortableServer_Export SArg_Traits<ACE_InputCDR::to_char>
00044 : public Special_Basic_SArg_Traits_T<CORBA::Char,
00045 ACE_InputCDR::to_char,
00046 ACE_OutputCDR::from_char,
00047 TAO::Any_Insert_Policy_Stream>
00048 {
00049 };
00050
00051 template<>
00052 class TAO_PortableServer_Export SArg_Traits<ACE_InputCDR::to_wchar>
00053 : public Special_Basic_SArg_Traits_T<CORBA::WChar,
00054 ACE_InputCDR::to_wchar,
00055 ACE_OutputCDR::from_wchar,
00056 TAO::Any_Insert_Policy_Stream>
00057 {
00058 };
00059
00060 template<>
00061 class TAO_PortableServer_Export SArg_Traits<ACE_InputCDR::to_octet>
00062 : public Special_Basic_SArg_Traits_T<CORBA::Octet,
00063 ACE_InputCDR::to_octet,
00064 ACE_OutputCDR::from_octet,
00065 TAO::Any_Insert_Policy_Stream>
00066 {
00067 };
00068
00069 template<>
00070 class TAO_PortableServer_Export SArg_Traits<ACE_InputCDR::to_boolean>
00071 : public Special_Basic_SArg_Traits_T<CORBA::Boolean,
00072 ACE_InputCDR::to_boolean,
00073 ACE_OutputCDR::from_boolean,
00074 TAO::Any_Insert_Policy_Stream>
00075
00076 {
00077 };
00078 }
00079
00080 TAO_END_VERSIONED_NAMESPACE_DECL
00081
00082 #include "ace/post.h"
00083
00084 #endif