summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-02-07 21:42:27 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-02-07 21:42:27 +0000
commit936510a1e64fa846e0a791fb435c8a41b17f23b1 (patch)
tree057c2c073a2235f0bee0b24c5bf7fcc5bc725571 /TAO
parent1698f81c9885a5ccdef158f0e02baecb99018086 (diff)
downloadATCD-936510a1e64fa846e0a791fb435c8a41b17f23b1.tar.gz
* TAO_IDL/be_include/be_union.h:
* TAO_IDL/be/be_union.cpp: * TAO_IDL/be_include/be_union_branch.h: * TAO_IDL/be/be_union_branch.cpp: * TAO_IDL/be_visitor_union/union_ch.cpp: * TAO_IDL/be_visitor_union/union_ci.cpp: * TAO_IDL/be_visitor_union/union_cs.cpp: * TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp: The IDL compiler has been generating a separate member typecode inside the union for each duplicate case label, but the TypeCode class contains no state (and therefore no methods using such state) containing info about multiple case labels - only about members. Typecode generation was changed to generate just one typecode for each member with the value of the first case label encountered for that member. The private union function _discriminant() (called by (de)marshaling code) was modified to return this value no matter what the actual current discriminant value may be. Thanks to Christopher Kohlhoff <chris@kohlhoff.com> for sending in yet another IDL file/test code example that got to the crux of this matter. * tests/IDL_Test/union.idl: * tests/IDL_Test/main.cpp: Added an expanded version of Chris Kohlhoff's example to IDL_Test.
Diffstat (limited to 'TAO')
-rw-r--r--TAO/ChangeLogs/ChangeLog-02a31
1 files changed, 31 insertions, 0 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a
index 2c199b78a5b..c7f69c6b0df 100644
--- a/TAO/ChangeLogs/ChangeLog-02a
+++ b/TAO/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,34 @@
+Mon Feb 7 15:31:54 2000 Jeff Parsons <parsons@cs.wustl.edu>
+
+ * TAO_IDL/be_include/be_union.h:
+ * TAO_IDL/be/be_union.cpp:
+ * TAO_IDL/be_include/be_union_branch.h:
+ * TAO_IDL/be/be_union_branch.cpp:
+ * TAO_IDL/be_visitor_union/union_ch.cpp:
+ * TAO_IDL/be_visitor_union/union_ci.cpp:
+ * TAO_IDL/be_visitor_union/union_cs.cpp:
+ * TAO_IDL/be/be_visitor_typecode/typecode_defn.cpp:
+ The IDL compiler has been generating a
+ separate member typecode inside the union for each
+ duplicate case label, but the TypeCode class
+ contains no state (and therefore no methods using
+ such state) containing info about multiple case
+ labels - only about members. Typecode generation was changed
+ to generate just one typecode for each member with
+ the value of the first case label encountered for
+ that member. The private union function _discriminant()
+ (called by (de)marshaling code) was modified to
+ return this value no matter what the actual current
+ discriminant value may be. Thanks to
+ Christopher Kohlhoff <chris@kohlhoff.com> for sending
+ in yet another IDL file/test code example that got to
+ the crux of this matter.
+
+ * tests/IDL_Test/union.idl:
+ * tests/IDL_Test/main.cpp:
+ Added an expanded version of Chris Kohlhoff's example
+ to IDL_Test.
+
Mon Feb 07 12:15:00 2000 Michael Kircher <Michael.Kircher@mchp.siemens.de>
* tests/AMI/run_test.pl: Set the "-x" switch on the client,