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

Home » Public Forums » archive » Re: How to know if an object has a certain method ?
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: How to know if an object has a certain method ? [message #65456 is a reply to message #65455] Tue, 03 March 2009 10:27 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
llo wrote:
> I've an object AA and I want to know if this object has a method named
> METHOD_AA...
>
> I could do something like this:
> if obj_isa(AA,'object_1') then 'the object has the method' $
> else 'the object doesn't has the method'
>
> There is another way to do that ?
>
> Thanks

You could just look in the object__define.pro file....

I guess you are more interested in saved objects. You can call help,
then parse the output for object::method

Jean
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: How to know if an object has a certain method ?
Next Topic: Problem with labeling contour lines in IDL

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

Current Time: Wed Dec 03 00:59:29 PST 2025

Total time taken to generate the page: 1.35231 seconds