[omniORB] CORBA vs. Multiple-Inheritance
Robert H. Fritz
rfritz@geologics.com
Mon, 31 Aug 1998 13:51:46 -0400
This is a multi-part message in MIME format.
------=_NextPart_000_0001_01BDD4E6.7F865AC0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hi Everyone,
I'm looking for a little OO guidance here ...
If I weren't using CORBA, my design would show two classes both decended
from a common abstract-class ancestor. The pure-virtual methods that would
be implemented by the decendents would be public. The methods implemented
by the ancestor would be protected.
Here's my difficulty. I would like to have only the public methods appear
as IDL interfaces. How do I declare in IDL or otherwise the relationship
of the decendent class to their ancestor? In IDL I tried declaring
(overloading) in the decendent an ancestor's method -- this generated an IDL
compilation error. If I copy the method definitions to each decendent and
not even have an interface for the ancestor, where do I tie the
IDL-generated class back to the ancestor?
Rob Fritz
rfritz@geologics.com
------=_NextPart_000_0001_01BDD4E6.7F865AC0
Content-Type: application/octet-stream;
name="Rob Fritz (E-mail).vcf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="Rob Fritz (E-mail).vcf"
BEGIN:VCARD
VERSION:2.1
N:Fritz;Robert H.
FN:Rob Fritz (E-mail)
ORG:Geologics;MIST
TITLE:Software Engineer
TEL;WORK;VOICE:301-342-5907
TEL;WORK;FAX:301-342-5982
ADR;WORK:;;22685 Three Notch Road;California;MD;20619
LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:22685 Three Notch =
Road=3D0D=3D0ACalifornia, MD 20619
ADR;POSTAL:;;22685 Three Notch Road;California;MD;20619
LABEL;POSTAL;ENCODING=3DQUOTED-PRINTABLE:22685 Three Notch =
Road=3D0D=3D0ACalifornia, MD 20619
EMAIL;PREF;INTERNET:rfritz@geologics.com
REV:19980811T162959Z
END:VCARD
------=_NextPart_000_0001_01BDD4E6.7F865AC0--