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 #42027 is a reply to message #41951] Mon, 13 December 2004 23:11 Go to previous message
marc schellens[1] is currently offline  marc schellens[1]
Messages: 183
Registered: January 2000
Senior Member
> and no class methods", I mean IDL doesn't have many things of pure OO
> programming so you can't do things like singleton pattern (desing patterns
> by Erich Gamma, Richard Helm, ... for more information about this) i think
> even IDL couldn't do many of the basics patterns of this paradigm but
> anycase it didn't born to
> do that, and works quite well in many other things (Visualization, matrix
> operators, etc.).

A singleton is very possible with IDL:
Just use a global variable (also as your access point) and
check its existance in the constructor.

m
[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 14:52:25 PDT 2025

Total time taken to generate the page: 0.31962 seconds