summaryrefslogtreecommitdiff
path: root/TAO/tao/Basic_Arguments.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Basic_Arguments.cpp')
-rw-r--r--TAO/tao/Basic_Arguments.cpp89
1 files changed, 89 insertions, 0 deletions
diff --git a/TAO/tao/Basic_Arguments.cpp b/TAO/tao/Basic_Arguments.cpp
new file mode 100644
index 00000000000..177450ef614
--- /dev/null
+++ b/TAO/tao/Basic_Arguments.cpp
@@ -0,0 +1,89 @@
+// $Id$
+
+#include "tao/Basic_Arguments.h"
+
+ACE_RCSID (tao,
+ Basic_Arguments,
+ "$Id$")
+
+template<>
+CORBA::Boolean
+TAO::Ret_Basic_Argument_T<void>::demarshal (TAO_InputCDR &)
+{
+ return 1;
+}
+
+template<>
+void
+TAO::Ret_Basic_Argument_T<void>::add_to_interceptor (CORBA::Any *)
+{
+}
+
+template<>
+TAO::Ret_Basic_Argument_T<void>::operator void () const
+{
+}
+
+template<>
+CORBA::Boolean
+TAO::Ret_Basic_SArgument_T<void>::marshal (TAO_OutputCDR &)
+{
+ return 1;
+}
+
+template<>
+void
+TAO::Ret_Basic_SArgument_T<void>::add_to_interceptor (CORBA::Any *)
+{
+}
+
+template<>
+TAO::Ret_Basic_SArgument_T<void>::operator void () const
+{
+}
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+template class TAO::Traits<CORBA::Short>;
+template class TAO::Traits<CORBA::Long>;
+template class TAO::Traits<CORBA::UShort>;
+template class TAO::Traits<CORBA::ULong>;
+template class TAO::Traits<CORBA::Float>;
+template class TAO::Traits<CORBA::Double>;
+template class TAO::Traits<CORBA::LongLong>;
+template class TAO::Traits<CORBA::ULongLong>;
+template class TAO::Traits<CORBA::LongDouble>;
+
+template class TAO::Special_Basic_Arg_Traits_T<CORBA::Short>;
+template class TAO::Special_Basic_Arg_Traits_T<CORBA::Long>;
+template class TAO::Special_Basic_Arg_Traits_T<CORBA::UShort>;
+template class TAO::Special_Basic_Arg_Traits_T<CORBA::ULong>;
+template class TAO::Special_Basic_Arg_Traits_T<CORBA::Float>;
+template class TAO::Special_Basic_Arg_Traits_T<CORBA::Double>;
+template class TAO::Special_Basic_Arg_Traits_T<CORBA::LongLong>;
+template class TAO::Special_Basic_Arg_Traits_T<CORBA::ULongLong>;
+template class TAO::Special_Basic_Arg_Traits_T<CORBA::LongDouble>;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+# pragma instantiate TAO::Traits<CORBA::Short>
+# pragma instantiate TAO::Traits<CORBA::Long>
+# pragma instantiate TAO::Traits<CORBA::UShort>
+# pragma instantiate TAO::Traits<CORBA::ULong>
+# pragma instantiate TAO::Traits<CORBA::Float>
+# pragma instantiate TAO::Traits<CORBA::Double>
+# pragma instantiate TAO::Traits<CORBA::LongLong>
+# pragma instantiate TAO::Traits<CORBA::ULongLong>
+# pragma instantiate TAO::Traits<CORBA::LongDouble>
+
+# pragma instantiate TAO::Special_Basic_Arg_Traits_T<CORBA::Short>
+# pragma instantiate TAO::Special_Basic_Arg_Traits_T<CORBA::Long>
+# pragma instantiate TAO::Special_Basic_Arg_Traits_T<CORBA::UShort>
+# pragma instantiate TAO::Special_Basic_Arg_Traits_T<CORBA::ULong>
+# pragma instantiate TAO::Special_Basic_Arg_Traits_T<CORBA::Float>
+# pragma instantiate TAO::Special_Basic_Arg_Traits_T<CORBA::Double>
+# pragma instantiate TAO::Special_Basic_Arg_Traits_T<CORBA::LongLong>
+# pragma instantiate TAO::Special_Basic_Arg_Traits_T<CORBA::ULongLong>
+# pragma instantiate TAO::Special_Basic_Arg_Traits_T<CORBA::LongDouble>
+
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */