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: Revised Text: Actions taken: June 13, 2000: received 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