00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file UB_String_SArguments.h 00006 * 00007 * $Id: UB_String_SArguments.h 69198 2005-11-04 09:26:56Z ossama $ 00008 * 00009 * @author Jeff Parsons 00010 * @author Carlos O'Ryan 00011 */ 00012 //============================================================================= 00013 00014 #ifndef TAO_UB_STRING_SARGUMENTS_H 00015 #define TAO_UB_STRING_SARGUMENTS_H 00016 00017 #include /**/ "ace/pre.h" 00018 00019 #include "tao/PortableServer/portableserver_export.h" 00020 00021 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00022 # pragma once 00023 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00024 00025 #include "tao/PortableServer/UB_String_SArgument_T.h" 00026 #include "tao/PortableServer/SArg_Traits_T.h" 00027 00028 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00029 00030 namespace TAO 00031 { 00032 /** 00033 * 00034 * @brief Specializatons for unbounded (w)strings. 00035 * 00036 */ 00037 00038 template<> 00039 class TAO_PortableServer_Export SArg_Traits<CORBA::Char *> 00040 : public UB_String_SArg_Traits_T<CORBA::Char, 00041 CORBA::String_var, 00042 CORBA::String_out> 00043 { 00044 }; 00045 00046 template<> 00047 class TAO_PortableServer_Export SArg_Traits<CORBA::WChar *> 00048 : public UB_String_SArg_Traits_T<CORBA::WChar, 00049 CORBA::WString_var, 00050 CORBA::WString_out> 00051 { 00052 }; 00053 } 00054 00055 TAO_END_VERSIONED_NAMESPACE_DECL 00056 00057 #include /**/ "ace/post.h" 00058 00059 #endif /* TAO_UB_STRING_SARGUMENTS_H */