summaryrefslogtreecommitdiff
path: root/TAO/tao/UB_String_Arguments.cpp
blob: de92e283c89245e3f5c16349a57727650213ba4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// $Id$

#include "UB_String_Arguments.h"


#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
    defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
// Inclusions only if explicit templates are enabled.
#include "CORBA_String.h"
#include "CDR.h"
#endif /*ACE_HAS_TEMPLATE_INSTANTIATION ||
         ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA*/

ACE_RCSID (tao,
           Special_Basic_Arguments,
           "$Id$")

#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)

#if 0
template class TAO::Arg_Traits<CORBA::String>;
template class TAO::Arg_Traits<CORBA::WString>;
#endif /*if 0*/

template class TAO::UB_String_Arg_Traits_T<CORBA::Char,
                                           CORBA::String_var,
                                           CORBA::String_out>;
template class TAO::UB_String_Arg_Traits_T<CORBA::WChar,
                                           CORBA::WString_var,
                                           CORBA::WString_out>;

template class TAO::In_UB_String_Argument_T<CORBA::Char>;
template class TAO::Inout_UB_String_Argument_T<CORBA::Char>;
template class TAO::Out_UB_String_Argument_T<CORBA::Char,
                                             CORBA::String_out>;
template class TAO::Ret_UB_String_Argument_T<CORBA::Char,
                                             CORBA::String_var>;

template class TAO::In_UB_String_Argument_T<CORBA::WChar>;
template class TAO::Inout_UB_String_Argument_T<CORBA::WChar>;
template class TAO::Out_UB_String_Argument_T<CORBA::WChar,
                                             CORBA::WString_out>;
template class TAO::Ret_UB_String_Argument_T<CORBA::WChar,
                                             CORBA::WString_var>;

#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)

#if 0
#pragma instantiate TAO::Arg_Traits<CORBA::String>
#pragma instantiate TAO::Arg_Traits<CORBA::WString>
#endif /*if 0*/
#pragma instantiate TAO::UB_String_Arg_Traits_T<CORBA::Char, \
                                                CORBA::String_var, \
                                                CORBA::String_out>
#pragma instantiate TAO::UB_String_Arg_Traits_T<CORBA::WChar, \
                                                CORBA::WString_var, \
                                                CORBA::WString_out>

#pragma instantiate TAO::In_UB_String_Argument_T<CORBA::Char>
#pragma instantiate TAO::Inout_UB_String_Argument_T<CORBA::Char>
#pragma instantiate TAO::Out_UB_String_Argument_T<CORBA::Char, \
                                                  CORBA::String_out>
#pragma instantiate TAO::Ret_UB_String_Argument_T<CORBA::Char, \
                                                  CORBA::String_var>

#pragma instantiate TAO::In_UB_String_Argument_T<CORBA::WChar>
#pragma instantiate TAO::Inout_UB_String_Argument_T<CORBA::WChar>
#pragma instantiate TAO::Out_UB_String_Argument_T<CORBA::WChar, \
                                                  CORBA::WString_out>
#pragma instantiate TAO::Ret_UB_String_Argument_T<CORBA::WChar, \
                                                  CORBA::WString_var>

#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */