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

Home » Public Forums » archive » Re: Are user-defined private methods possible?
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: Are user-defined private methods possible? [message #67199 is a reply to message #67198] Wed, 08 July 2009 12:16 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
David Fanning wrote:
> Paul van Delst writes:
>
>> As the subject states, are user-defined private methods possible in IDL?
>>
>> I have some object methods that I want to be private to the class (like Init and Cleanup)
>> but I can't find any info on how to do that in the IDL help. Once the methods in question
>> are invoked (and, thus, compiled) in a public method, they're accessible from outside the
>> class.
>
> There is nothing like a "private" method in IDL.
> However, there are some things you can do to keep
> neighborhood eyes from oggling the babes in the
> backyard pool.
>
> For example, you can give your "private" methods
> ugly names (I usually append an underscore to the
> method name), and you can set the HIDDEN compile
> option, so the casual user doesn't know it is there
> when the object code is compiled:
>
> PRO myobject::_myprivateMethod
> compile_opt HIDDEN
> ...
> END
>
> But nothing is going to stop a determined 14-year-old
> with a good set of field glasses. :-(

Cool, thanks!

cheers,

paulv
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: nike clothing,nike shoes,online store,http://www.nbashoe.com air Jordan Shoes,Nike Air Jordans, Air Force Ones,Retro Air Jordan, Bape Hoodies,Bape shoes-Tencent Traveler|Jordan Shoes,Nike Air Jordans, Air Force Ones,Retro Air Jordan, Bape Hoodie
Next Topic: Re: Question about user input in IDL

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

Current Time: Sat Oct 11 15:39:53 PDT 2025

Total time taken to generate the page: 1.28038 seconds