summaryrefslogtreecommitdiff
path: root/TAO/tao/PredefinedType_Seq_Tmplinst.cpp
blob: c50c111c7a2dd3310ef8bd7945e97c3c7df1dd6b (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$

// ============================================================================
//
// = LIBRARY
//    TAO
//
// = FILENAME
//    PredefinedType_Seq_Tmplinst.cpp
//
// = DESCRIPTION
//   Explicit instantiation of the TAO sequence template classes for all
//   the IDL basic types. These instantiations free us from having to
//   generate them over and over with the IDL compiler.
//
// = AUTHOR
//     Jeff Parsons <j.parsons@vanderbilt.edu>
//
// ============================================================================

#include "ace/config-all.h"

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

#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) \
    || defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
# include "Sequence_T.h"
# include "Any.h"
# include "Object.h"
# include "Typecode.h"
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION 
          || ACE_HAS_TEMPLATE_INSTANTIATION_PRAGM */

#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)

template class TAO_Unbounded_Sequence<CORBA::Char>;
template class TAO_Unbounded_Sequence<CORBA::WChar>;
template class TAO_Unbounded_Sequence<CORBA::Short>;
template class TAO_Unbounded_Sequence<CORBA::UShort>;
template class TAO_Unbounded_Sequence<CORBA::Long>;
template class TAO_Unbounded_Sequence<CORBA::ULong>;
template class TAO_Unbounded_Sequence<CORBA::LongLong>;
template class TAO_Unbounded_Sequence<CORBA::ULongLong>;
template class TAO_Unbounded_Sequence<CORBA::Float>;
template class TAO_Unbounded_Sequence<CORBA::Double>;
template class TAO_Unbounded_Sequence<CORBA::LongDouble>;
template class TAO_Unbounded_Pseudo_Sequence<CORBA::Object>;
template class TAO_Unbounded_Sequence<CORBA::Any>;
template class TAO_Unbounded_Pseudo_Sequence<CORBA::TypeCode>;

#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)

#pragma instantiate TAO_Unbounded_Sequence<CORBA::Char>
#pragma instantiate TAO_Unbounded_Sequence<CORBA::WChar>
#pragma instantiate TAO_Unbounded_Sequence<CORBA::Short>
#pragma instantiate TAO_Unbounded_Sequence<CORBA::UShort>
#pragma instantiate TAO_Unbounded_Sequence<CORBA::Long>
#pragma instantiate TAO_Unbounded_Sequence<CORBA::ULong>
#pragma instantiate TAO_Unbounded_Sequence<CORBA::LongLong>
#pragma instantiate TAO_Unbounded_Sequence<CORBA::ULongLong>
#pragma instantiate TAO_Unbounded_Sequence<CORBA::Float>
#pragma instantiate TAO_Unbounded_Sequence<CORBA::Double>
#pragma instantiate TAO_Unbounded_Sequence<CORBA::LongDouble>
#pragma instantiate TAO_Unbounded_Pseudo_Sequence<CORBA::Object, \
                                                  CORBA::Object_var>
#pragma instantiate TAO_Unbounded_Sequence<CORBA::Any>
#pragma instantiate TAO_Unbounded_Pseudo_Sequence<CORBA::TypeCode, \
                                                  CORBA::TypeCode_var>

#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */