Issue 1702: Nil object reference (CORBA v. 2.2) (ada-rtf) Source: (, ) Nature: Revision Severity: Summary: Summary: Section 20.3.5 of the OMG IDL to C++ Mapping states: " The mapping for an interface defines a static member function named _nil that returns a nil object reference of that interface type [...] " Although the section "Object Reference Operations" in the OMG IDL to Ada Mapping chapter 23.5.5 defines a function function Is_Nil (Self : Ref) return Boolean; the mapping does not define a Nil operation. Resolution: Revised Text: Actions taken: July 20, 1998: received issue June 4, 1999: closed issue Discussion: End of Annotations:===== Return-Path: From: "Oliver M. Kellogg" To: Subject: Nil object reference (CORBA v2.2) Date: Mon, 20 Jul 1998 11:27:28 +0200 X-Msmail-Priority: Normal Section 20.3.5 of the OMG IDL to C++ Mapping states: " The mapping for an interface defines a static member function named _nil that returns a nil object reference of that interface type [...] " Although the section "Object Reference Operations" in the OMG IDL to Ada Mapping chapter 23.5.5 defines a function function Is_Nil (Self : Ref) return Boolean; the mapping does not define a Nil operation. -- Regards, Oliver M. Kellogg Daimler-Benz Aerospace AG Sensor Systems, Dept. VE3E3 D-89070 Ulm, Germany phone: (+49) 731 392-7138 fax: (+49) 731 392-4255 e-mail: Oliver.Kellogg@vs.dasa.de Return-Path: Date: Mon, 20 Jul 1998 08:12:28 -0400 (EDT) From: Bill Beckwith X-Sender: beckwb@gamma To: "Oliver M. Kellogg" cc: ada-rtf@omg.org Subject: Re: Nil object reference (CORBA v2.2) On Mon, 20 Jul 1998, Oliver M. Kellogg wrote: > Section 20.3.5 of the OMG IDL to C++ Mapping states: > > " The mapping for an interface defines a static member function > named _nil that returns a nil object reference of that interface > type [...] " > > Although the section "Object Reference Operations" in the OMG IDL > to Ada Mapping chapter 23.5.5 defines a function > > function Is_Nil (Self : Ref) return Boolean; > > the mapping does not define a Nil operation. Hi Oliver, All references are implictly born as nil in the Ada mapping so we didn't see the need for the extra operation. i.e. if you want a nil object reference: X : CORBA.Object.Ref; or of a specific interface: Y : Devices.Sensor.Ref; > -- > Regards, > > Oliver M. Kellogg > > Daimler-Benz Aerospace AG > Sensor Systems, Dept. VE3E3 > D-89070 Ulm, Germany > phone: (+49) 731 392-7138 > fax: (+49) 731 392-4255 > e-mail: Oliver.Kellogg@vs.dasa.de -- Bill ------------------------------------------------------------------- email: bill.beckwith@ois.com Main: 703-295-6500 | CORBA Objective Interface Systems, Inc. Direct: 703-295-6519 | for 1892 Preston White Drive FAX: 703-295-6501 | fast Reston, Virginia 20191-5448 http://www.ois.com | realtime Return-Path: X-Sender: giddiv@gamma Date: Mon, 20 Jul 1998 11:24:03 -0400 To: issues@omg.org From: "Oliver M. Kellogg" (by way of Victor Giddings ) Subject: Nil object reference (CORBA v2.2) Cc: "Oliver M. Kellogg" Section 20.3.5 of the OMG IDL to C++ Mapping states: " The mapping for an interface defines a static member function named _nil that returns a nil object reference of that interface type [...] " Although the section "Object Reference Operations" in the OMG IDL to Ada Mapping chapter 23.5.5 defines a function function Is_Nil (Self : Ref) return Boolean; the mapping does not define a Nil operation. -- Regards, Oliver M. Kellogg Daimler-Benz Aerospace AG Sensor Systems, Dept. VE3E3 D-89070 Ulm, Germany phone: (+49) 731 392-7138 fax: (+49) 731 392-4255 e-mail: Oliver.Kellogg@vs.dasa.de Return-Path: X-Sender: giddiv@gamma Date: Mon, 20 Jul 1998 11:28:08 -0400 To: Bill Beckwith , "Oliver M. Kellogg" From: Victor Giddings Subject: Re: Nil object reference (CORBA v2.2) Cc: ada-rtf@omg.org References: <9807200917.AA10349@gatekeeper.vs.dasa.de> Oliver, Thanks for your comments. As you will gather from previous email, I have redirected your email to issues so that it gets assigned a number for tracking purposes. We will address it in the RTF. Bill's response below does reflect the thinking of the original mapping developers. If you do not find this sufficient, please feel free to provide additional insight. At 08:12 AM 7/20/98 -0400, Bill Beckwith wrote: >On Mon, 20 Jul 1998, Oliver M. Kellogg wrote: > >> Section 20.3.5 of the OMG IDL to C++ Mapping states: >> >> " The mapping for an interface defines a static member function >> named _nil that returns a nil object reference of that interface >> type [...] " >> >> Although the section "Object Reference Operations" in the OMG IDL >> to Ada Mapping chapter 23.5.5 defines a function >> >> function Is_Nil (Self : Ref) return Boolean; >> >> the mapping does not define a Nil operation. > >Hi Oliver, > >All references are implictly born as nil in the Ada mapping >so we didn't see the need for the extra operation. i.e. if >you want a nil object reference: > > X : CORBA.Object.Ref; > >or of a specific interface: > > Y : Devices.Sensor.Ref; > >> -- >> Regards, >> >> Oliver M. Kellogg >> >> Daimler-Benz Aerospace AG >> Sensor Systems, Dept. VE3E3 >> D-89070 Ulm, Germany >> phone: (+49) 731 392-7138 >> fax: (+49) 731 392-4255 >> e-mail: Oliver.Kellogg@vs.dasa.de > >-- Bill > >------------------------------------------------------------------- >email: bill.beckwith@ois.com Main: 703-295-6500 | CORBA >Objective Interface Systems, Inc. Direct: 703-295-6519 | for >1892 Preston White Drive FAX: 703-295-6501 | fast >Reston, Virginia 20191-5448 http://www.ois.com | realtime > Return-Path: From: "Oliver M. Kellogg" To: "Bill Beckwith" , "Victor Giddings" Cc: Subject: Re: Nil object reference (CORBA v2.2) Date: Mon, 20 Jul 1998 17:57:03 +0200 X-Msmail-Priority: Normal Dear Bill and Victor: Upon further study, I discovered the section "Nil Object Reference" in 23.5.5. This was my oversight. As a little suggestion for easier reading, how about including a comment at the list of "Object Reference Operations" similar to the one "-- Duplicate unneeded ... " saying -- Nil unneeded, see paragraph "Nil Object Reference" Thank you, Oliver