Issue 3736: Inconsistency in the definition of the location of TC_Object (ada-rtf) Source: (, ) Nature: Revision Severity: Minor Summary: A CORBA implementation for Ada 95 must provide a typecode constant for predefined type Object. This typecode constant is a function "function TC_Object return CORBA.TypeCode.Object". According to the standard declaration of package CORBA (5.4 CORBA package), "function TC_Object is in CORBA.Object". According to the standard declaration of package CORBA.Object (5.2.2 Object), package CORBA.Object does not contain any such declaration. Thus we claim that there exist an inconsistency in the definition of the location of function TC_Object. The proposed resolution of this issue is to define a standard location for funtion TC_Object. For consistency with user-defined interfaces, we propose that a new standard package CORBA.Object.Helper be defined, containing the declaration of function TC_Object. We propose that the declaration of package CORBA be updated to mention that function TC_Object is in CORBA.Object.Helper. Resolution: Accept as suggested. Add new section describing the CORBA.Object.Helper package Revised Text: Change the final sentence of section 4.5.7 to read: “See Section5.2.2, “Object,”on page5-3 and Section 5.2.3 “CORBA.Object.Helper” on page 5-5 for more information. ” Add the following as new section 5.2.3: 5.2.3 CORBA.Object.Helper CORBA.Object.Helper provides support for conversion of the base CORBA.Object.Ref type to and from type Any, and the corresponding TypeCode type. package CORBA.Object.Helper is -- base support for type Any TC_Object : constant CORBA.TypeCode.Object; function To_Any (From : in Ref) return CORBA.Any; function From_Any (From : in CORBA.Any) return Ref; -- base support for Widening function To_Ref(From : in Ref'CLASS) return Ref; private -- implementation defined end CORBA.Object.Helper; Disposition: Resolved Actions taken: July 4, 2000: received issue January 12, 2010: closed issue Discussion: End of Annotations:===== To: issues@omg.org, adabroker-devel@adabroker.eu.org Subject: Issue on ptc/2000-05-04: Inconsistency in the definition of the location of TC_Object Message-Id: <20000704153521.8629B12CA@shalmaneser.enst.fr> Date: Tue, 4 Jul 2000 17:35:21 +0200 (CEST) From: quinot@inf.enst.fr (Thomas Quinot) Content-Type: text X-UIDL: b/N!!DLi!!%]od9V>~!! Specification: Ada Language Mapping Specification Formal: ptc/2000-05-04 Nature: Revision Severity: Minor Summary: Inconsistency in the definition of the location of TC_Object Description: A CORBA implementation for Ada 95 must provide a typecode constant for predefined type Object. This typecode constant is a function "function TC_Object return CORBA.TypeCode.Object". According to the standard declaration of package CORBA (5.4 CORBA package), "function TC_Object is in CORBA.Object". According to the standard declaration of package CORBA.Object (5.2.2 Object), package CORBA.Object does not contain any such declaration. Thus we claim that there exist an inconsistency in the definition of the location of function TC_Object. The proposed resolution of this issue is to define a standard location for funtion TC_Object. For consistency with user-defined interfaces, we propose that a new standard package CORBA.Object.Helper be defined, containing the declaration of function TC_Object. We propose that the declaration of package CORBA be updated to mention that function TC_Object is in CORBA.Object.Helper. -- Thomas Quinot ** Dipartement Informatique & Riseaux ** quinot@inf.enst.fr To: ada-rtf@omg.org Cc: Nick Roberts Subject: Proposed Resolution for Issue 3736 From: Victor Giddings Date: Sun, 11 May 2008 16:00:12 +0200 X-Mailer: Apple Mail (2.753) Disposition: Resolved OMG Issue No: 3736 Title: Inconsistency in the Definition of the Location of TC_Object Source: École Nationale Supérieure des Télécommunications Thomas Quinot Summary: A CORBA implementation for Ada 95 must provide a typecode constant for predefined type Object. This typecode constant is a function "function TC_Object return CORBA.TypeCode.Object". According to the standard declaration of package CORBA(5.4 CORBA package), "function TC_Object is in CORBA.Object". According to the standard declaration of package CORBA.Object (5.2.2 Object), package CORBA.Object does not contain any such declaration. Thus we claim that there exist an inconsistency in the definition of the location of function TC_Object. The proposed resolution of this issue is to define a standard location for function TC_Object. For consistency with user-defined interfaces, we propose that a new standard package CORBA.Object.Helper be defined, containing the declaration of function TC_Object. We propose that the declaration of package CORBA be updated to mention that function TC_Object is in CORBA.Object.Helper. Resolution: Accept as suggested. Add new section describing the CORBA.Object.Helper package. Revised Text: Change the final sentence of section 4.5.7 to read: .See Section5.2.2, .Object,.on page5-3 and Section 5.2.3 .CORBA.Object.Helper. on page 5-5 for more information. . Add the following as new section 5.2.3: 5.2.3 CORBA.Object.Helper CORBA.Object.Helper provides support for conversion of the base CORBA.Object.Ref type to and from type Any, and the corresponding TypeCode type. package CORBA.Object.Helper is -- base support for type Any TC_Object : constant CORBA.TypeCode.Object; function To_Any (From : in Ref) return CORBA.Any; function From_Any (From : in CORBA.Any) return Ref; -- base support for Widening function To_Ref(From : in Ref'CLASS) return Ref; private -- implementation defined end CORBA.Object.Helper; Disposition: Resolved Victor Giddings Objective Interface Systems victor.giddings@mail.ois.com ENST // 46 rue Barrault // 75634 PARIS CEDEX 13