Issue 3705: Addition of a constructor for "empty" Any objects. (ada-rtf) Source: (, ) Nature: Revision Severity: Significant Summary: There is at this moment no way of creating an Any with a given type but no value. This is however helpfull (if not needed) when creating the Any passed (through a NamedValue) as the result parameter of the CORBA.create_request method. I suggest to add a constructor for Any objects with the following syntax : package CORBA { function Get_Empty_Any (Tc : in TypeCode.Object) return Any; }; Resolution: Since there is no interface that allows the value of a type Any to be set independent of resetting the TypeCode in the type Any, the value of this is not apparent. Disposition: Closed, no change Revised Text: Actions taken: June 13, 2000: received issue January 12, 2010: closed issue Discussion: End of Annotations:===== Date: Tue, 13 Jun 2000 18:39:12 +0200 From: Sebastien Ponce To: issues@omg.org Subject: Creating Anys in the Ada Mapping Message-ID: <20000613183912.D230@fourmi> Reply-To: Sebastien Ponce Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailer: Balsa 0.6.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 X-UIDL: e@^d941gd9^V&"!XYUd9 Specification: Ada Language Mapping Specification, v1.2 Formal: formal/99-07-29 Nature: Revision Severity: Significant Summary: Addition of a constructor for "empty" Any objects. Description: There is at this moment no way of creating an Any with a given type but no value. This is however helpfull (if not needed) when creating the Any passed (through a NamedValue) as the result parameter of the CORBA.create_request method. I suggest to add a constructor for Any objects with the following syntax : package CORBA { function Get_Empty_Any (Tc : in TypeCode.Object) return Any; }; The AdaBroker team From: Victor Giddings To: ada-rtf@omg.org Subject: Proposed Resolution for 3705 Date: Fri, 27 Jun 2008 14:48:51 -0400 Cc: Nick Roberts X-Mailer: Apple Mail (2.924) Disposition: Closed, No Change OMG Issue No: 3705 Title: Addition of a constructor for "empty" Any objects. Source: École Nationale Supérieure des Télécommunications Sebastien Ponce Summary: There is at this moment no way of creating an Any with a given type but no value. This is however helpfull (if not needed) when creating the Any passed (through a NamedValue) as the result parameter of the CORBA.create_request method. I suggest to add a constructor for Any objects with the following syntax : package CORBA { function Get_Empty_Any (Tc : in TypeCode.Object) return Any; }; Resolution: Since there is no interface that allows the value of a type Any to be set independent of re-setting the TypeCode in the type Any, the value of this is not seen. Disposition: Closed, no change Victor Giddings victor_giddings@omg.org