comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: What about real polymorphism ??
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: What about real polymorphism ?? [message #42036 is a reply to message #41954] Sun, 12 December 2004 14:07 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
JD Smith wrote:
> On Fri, 2004-12-10 at 12:00 +1300, Mark Hadfield wrote:
>
>> I think Antonio's confusion came from his experience with languages like
>> C++ and Java, which have a different object model from IDL. In C++ and
>> Java, the fact that two classes have a method called Draw does not imply
>> these methods are related. For them to be related, the classes have to
>> have a common superclass which itself has a Draw method. The
>> superclass's Draw method will often be virtual, ie. not implemented, but
>> it has to exist.
>
>
> Did you mean "abstract" here? Virtual methods are what all IDL methods
> are: overrideable in a sub-class.

Yeah, that's what I meant. Something like that, anyway :-)

Actually, given my shaky knowledge about these matters, it's probably
stretching it a bit to say I "meant" anything.


--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stretching an image
Next Topic: ENVI and ROIs

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 22:19:53 PDT 2025

Total time taken to generate the page: 1.75072 seconds