|
Hi
Does this still apply if I refer to classA both
from the superclass and the subclass? Isn't the subclass dependent of classA. If
classA changes, the subclass, as well as the superclass, must take this into
consideration.
Rolf
----- Original Message -----
Sent: Wednesday, July 11, 2001 5:49
PM
Subject: Re: (ROSE) Dependencies
Hi Rolf, You MUST not have the additional
dependence. This is one of the ideas of object orientated design
:-).
You are using the interface of your super class and you should not
care about the implementation of it. Look at it like a 'black
box'.
CU Gebhard
"Rolf" <[EMAIL PROTECTED]> on
07/11/2001 04:45:18 PM
Please respond to "Rolf" <[EMAIL PROTECTED]>
To:
[EMAIL PROTECTED] cc: (bcc: Gebhard
Ebeling/DE/DELCO)
Subject: (ROSE)
Dependencies
Hi
Do I inherit dependencies from a
superclass?
If I have a dependency from my superclass to a classA,
should I also model a dependency from my subclass to classA? Or, is it
enough that I have the dependency from my superclass. The forward reference
and the include are located in the superclasse's VC++ header
file.
Regards Rolf Nergaard
Received: from plmlir1.mail.eds.com
([205.191.22.41]) by uskokg98.delcoelect.com (Lotus SMTP MTA v4.6.7
(934.1 12-30-1999)) with SMTP id 05256A86.0053BA90; Wed, 11 Jul 2001
10:14:32 -0500 Received: from plmlir1.mail.eds.com (localhost
[127.0.0.1]) by plmlir1.mail.eds.com
(8.11.3/8.11.3) with ESMTP id f6BFEVj01640 for
<[EMAIL PROTECTED]>; Wed, 11 Jul 2001 11:14:31 -0400
(EDT)
Received: from plmler2.mail.eds.com (plmler2.mail.eds.com
[199.228.142.72]) by plmlir1.mail.eds.com
(8.11.3/8.11.3) with ESMTP id f6BF8rv24785 for
<[EMAIL PROTECTED]>; Wed, 11 Jul 2001 11:08:53 -0400
(EDT)
Received: from sus-ca3it09
([192.229.33.4]) by plmler2.mail.eds.com
(8.11.1/8.11.1) with SMTP id f6BF8rt31188 for
<[EMAIL PROTECTED]>; Wed, 11 Jul 2001 11:08:53
-0400 Received: from 192.168.100.8 by sus-ca3it09 (InterScan E-Mail
VirusWall NT); Wed, 11 Jul 2001 08:08:06 -0700 Received: from localhost
(bin@localhost) by majordomo.rational.com
(8.9.3/8.9.3/RATIONAL-majordomo) with SMTP
id IAA29024; Wed, 11 Jul 2001 08:07:57
-0700 Received: by majordomo.rational.com (bulk_mailer v1.8); Wed, 11 Jul
2001 08:03:53 -0700 Received: (from
majordom@localhost) by majordomo.rational.com
(8.9.3/8.9.3/RATIONAL-majordomo) id IAA27276 for
rose_forum-outgoing; Wed, 11 Jul 2001 08:03:51 -0700 Message-ID:
<001801c10a18$1adb7f50$[EMAIL PROTECTED]> From: "Rolf"
<[EMAIL PROTECTED]> To:
<[EMAIL PROTECTED]> Subject: (ROSE) Dependencies Date: Wed,
11 Jul 2001 16:45:18 +0200 MIME-Version: 1.0 Content-Type:
multipart/mixed;
boundary="------------InterScan_NT_MIME_Boundary" X-Priority:
3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express
5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE
V5.50.4133.2400 Sender: [EMAIL PROTECTED] Reply-To: "Rolf"
<[EMAIL PROTECTED]> X-Majordomo-Taboo:
rose_forum Precedence:
bulk
|---------------------------------------> |USKOKG98/us/delphiauto
| |USKOKH99/us/delphiauto
| |USKOKHM1/DELCO
| |USKOKH01/DELCO
| |DEWI1NOTES02/DE/DELCO
| |DEBS1NOTES01/DE/DELCO
| |--------------------------------------->
>---------------------------------------| |07/11/2001 05:14:34 PM
- 07/11/2001 | |05:14:35
PM
| |07/11/2001 05:14:35 PM - 07/11/2001 |
|05:14:37
PM
| |07/11/2001 05:14:36 PM - 07/11/2001 |
|05:14:38
PM
| |07/11/2001 05:14:38 PM - 07/11/2001 |
|05:15:39
PM
| |07/11/2001 05:15:41 PM - 07/11/2001 |
|05:18:34
PM
| |07/11/2001 05:18:36 PM - 07/11/2001 |
|05:18:36
PM
|
>---------------------------------------|
Gebhard Ebeling Software
Developement Delphi Delco Electronics
GmbH Mobile Multimedia Design
Center Tec
Center D-31162 Bad
Salzdetfurth
Germany Phone +49 (0)5063
990-369
email:[EMAIL PROTECTED]
|