00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file UB_String_Arguments.h 00006 * 00007 * $Id: UB_String_Arguments.h 89975 2010-04-23 08:27:53Z johnnyw $ 00008 * 00009 * @authors Jeff Parsons and Carlos O'Ryan 00010 */ 00011 //============================================================================= 00012 00013 #ifndef TAO_UB_STRING_ARGUMENTS_H 00014 #define TAO_UB_STRING_ARGUMENTS_H 00015 00016 #include /**/ "ace/pre.h" 00017 00018 #include "tao/UB_String_Argument_T.h" 00019 00020 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00021 # pragma once 00022 #endif /* ACE_LACKS_PRAGMA_ONCE */ 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 * @brief Specializatons for unbounded (w)strings. 00034 * 00035 */ 00036 00037 template<> 00038 class TAO_Export Arg_Traits<CORBA::Char *> 00039 : public UB_String_Arg_Traits_T<CORBA::String_var, 00040 TAO::Any_Insert_Policy_AnyTypeCode_Adapter> 00041 { 00042 }; 00043 00044 template<> 00045 class TAO_Export Arg_Traits<CORBA::WChar *> 00046 : public UB_String_Arg_Traits_T<CORBA::WString_var, 00047 TAO::Any_Insert_Policy_AnyTypeCode_Adapter> 00048 { 00049 }; 00050 } 00051 00052 TAO_END_VERSIONED_NAMESPACE_DECL 00053 00054 #include /**/ "ace/post.h" 00055 #endif /* TAO_UB_STRING_ARGUMENTS_H */