summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOPC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/GIOPC.cpp')
-rw-r--r--TAO/tao/GIOPC.cpp146
1 files changed, 116 insertions, 30 deletions
diff --git a/TAO/tao/GIOPC.cpp b/TAO/tao/GIOPC.cpp
index df2c8fe857d..47703e00f23 100644
--- a/TAO/tao/GIOPC.cpp
+++ b/TAO/tao/GIOPC.cpp
@@ -23,27 +23,17 @@
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:314
-// ================================================================
-//
-// = LIBRARY
-// TAO
-//
-// = FILENAME
-// GIOPC.h
-//
-// = DESCRIPTION
-// Generated from GIOP1_2.pidl, that contains a part of the new data
-// type definitions for GIOP1.2 module.
-// The code was generated by the IDL compiler and then hand-crafted
-// to reduce the includes interdependencies.
-// hand crafted by Balachandran Natarajan <bala@cs.wustl.edu>
-// ================================================================
+#include "GIOPC.h"
+#include "tao/Stub.h"
+#include "tao/Invocation.h"
+#include "tao/PortableInterceptor.h"
+#if TAO_HAS_INTERCEPTORS == 1
+#include "tao/RequestInfo_Util.h"
+#include "tao/ClientRequestInfo_i.h"
+#include "tao/ClientInterceptorAdapter.h"
+#endif /* TAO_HAS_INTERCEPTORS == 1 */
-#include "GIOPC.h"
-#include "tao/Environment.h"
-#include "tao/Any_T.h"
-#include "tao/ORB_Core.h"
#if defined (__BORLANDC__)
#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
@@ -148,7 +138,7 @@ TAO_NAMESPACE_DEFINE (
TAO_NAMESPACE_END
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:67
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:66
void GIOP::Version::_tao_any_destructor (void *_tao_void_pointer)
{
@@ -157,6 +147,25 @@ void GIOP::Version::_tao_any_destructor (void *_tao_void_pointer)
}
// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_type.cpp:274
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+template class
+ TAO_Fixed_Var_T<
+ Version
+ >;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+# pragma instantiate \
+ TAO_Fixed_Var_T< \
+ Version \
+ >
+
+#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_GIOP_IORAddressingInfo[] =
@@ -292,7 +301,7 @@ TAO_NAMESPACE_DEFINE (
TAO_NAMESPACE_END
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:67
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:66
void GIOP::IORAddressingInfo::_tao_any_destructor (void *_tao_void_pointer)
{
@@ -301,7 +310,38 @@ void GIOP::IORAddressingInfo::_tao_any_destructor (void *_tao_void_pointer)
}
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_union/union_cs.cpp:92
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_type.cpp:274
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+template class
+ TAO_Var_Var_T<
+ IORAddressingInfo
+ >;
+
+template class
+ TAO_Out_T<
+ IORAddressingInfo,
+ IORAddressingInfo_var
+ >;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+# pragma instantiate \
+ TAO_Var_Var_T< \
+ IORAddressingInfo \
+ >
+
+# pragma instantiate \
+ TAO_Out_T< \
+ IORAddressingInfo, \
+ IORAddressingInfo_var \
+ >
+
+#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_union/union_cs.cpp:91
GIOP::TargetAddress::TargetAddress (void)
{
@@ -325,7 +365,7 @@ GIOP::TargetAddress::TargetAddress (const ::GIOP::TargetAddress &u)
{
ACE_NEW (
this->u_.object_key_,
- TAO::ObjectKey (*u.u_.object_key_)
+ CORBA::OctetSeq (*u.u_.object_key_)
);
}
}
@@ -400,7 +440,7 @@ GIOP::TargetAddress::operator= (const ::GIOP::TargetAddress &u)
{
ACE_NEW_RETURN (
this->u_.object_key_,
- TAO::ObjectKey (*u.u_.object_key_),
+ CORBA::OctetSeq (*u.u_.object_key_),
*this
);
}
@@ -497,12 +537,29 @@ static const CORBA::Long _oc_GIOP_TargetAddress[] =
ACE_NTOHL (0x6f626a65),
ACE_NTOHL (0x63745f6b),
ACE_NTOHL (0x65790000), // name = object_key
- CORBA::tk_sequence, // typecode kind
- 12, // encapsulation length
+ CORBA::tk_alias, // typecode kind for typedefs
+ 76, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_octet,
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x412f4f63),
+ ACE_NTOHL (0x74657453),
+ ACE_NTOHL (0x65713a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CORBA/OctetSeq:1.0
+ 9,
+ ACE_NTOHL (0x4f637465),
+ ACE_NTOHL (0x74536571),
+ ACE_NTOHL (0x0), // name = OctetSeq
+ CORBA::tk_sequence, // typecode kind
+ 12, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_octet,
+
+ 0U,
- 0U,
ACE_IDL_NSTOHL (0x0001), // union case label (evaluated value)
8,
@@ -646,6 +703,37 @@ TAO_NAMESPACE_DEFINE (
)
TAO_NAMESPACE_END
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_type.cpp:274
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+template class
+ TAO_Var_Var_T<
+ TargetAddress
+ >;
+
+template class
+ TAO_Out_T<
+ TargetAddress,
+ TargetAddress_var
+ >;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+# pragma instantiate \
+ TAO_Var_Var_T< \
+ TargetAddress \
+ >
+
+# pragma instantiate \
+ TAO_Out_T< \
+ TargetAddress, \
+ TargetAddress_var \
+ >
+
+#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54
@@ -841,5 +929,3 @@ CORBA::Boolean operator>>= (
# pragma instantiate TAO::Any_Dual_Impl_T<GIOP::TargetAddress>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-
-