Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / UB_String_Arguments.h
blob28adc3a6d9bf708b1f195d8ca847d3c5862edbae
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file UB_String_Arguments.h
7 * @authors Jeff Parsons and Carlos O'Ryan
8 */
9 //=============================================================================
11 #ifndef TAO_UB_STRING_ARGUMENTS_H
12 #define TAO_UB_STRING_ARGUMENTS_H
14 #include /**/ "ace/pre.h"
16 #include "tao/UB_String_Argument_T.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/Arg_Traits_T.h"
23 #include "tao/Any_Insert_Policy_T.h"
25 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
27 namespace TAO
29 /**
31 * @brief Specializatons for unbounded (w)strings.
35 template<>
36 class TAO_Export Arg_Traits<CORBA::Char *>
37 : public UB_String_Arg_Traits_T<CORBA::String_var,
38 TAO::Any_Insert_Policy_AnyTypeCode_Adapter>
42 template<>
43 class TAO_Export Arg_Traits<CORBA::WChar *>
44 : public UB_String_Arg_Traits_T<CORBA::WString_var,
45 TAO::Any_Insert_Policy_AnyTypeCode_Adapter>
50 TAO_END_VERSIONED_NAMESPACE_DECL
52 #include /**/ "ace/post.h"
53 #endif /* TAO_UB_STRING_ARGUMENTS_H */