Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / PortableServer / UB_String_SArguments.h
blobba414781a5e386f3dd346591b9597834833bd953
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file UB_String_SArguments.h
7 * @author Jeff Parsons
8 * @author Carlos O'Ryan
9 */
10 //=============================================================================
12 #ifndef TAO_UB_STRING_SARGUMENTS_H
13 #define TAO_UB_STRING_SARGUMENTS_H
15 #include /**/ "ace/pre.h"
17 #include "tao/PortableServer/portableserver_export.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 # pragma once
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "tao/PortableServer/UB_String_SArgument_T.h"
24 #include "tao/PortableServer/SArg_Traits_T.h"
26 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
28 namespace TAO
30 /**
32 * @brief Specializatons for unbounded (w)strings.
36 template<>
37 class TAO_PortableServer_Export SArg_Traits<CORBA::Char *>
38 : public UB_String_SArg_Traits_T<CORBA::Char,
39 CORBA::String_var,
40 CORBA::String_out>
44 template<>
45 class TAO_PortableServer_Export SArg_Traits<CORBA::WChar *>
46 : public UB_String_SArg_Traits_T<CORBA::WChar,
47 CORBA::WString_var,
48 CORBA::WString_out>
53 TAO_END_VERSIONED_NAMESPACE_DECL
55 #include /**/ "ace/post.h"
57 #endif /* TAO_UB_STRING_SARGUMENTS_H */