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

Home » Public Forums » archive » Re: iTool identifiers
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: iTool identifiers [message #48947] Wed, 07 June 2006 20:58 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
Chris Torrence wrote:
> Actually, I think it *is* that easy:
>
> IDL> o=obj_new('idlitcomponent', identifier='myobject')
> IDL> oparent = obj_new('idlitcontainer', identifier='parent')
>
> IDL> ograndparent = obj_new('idlitcontainer')
>
> IDL> oparent->add, o
>
> IDL> ograndparent->add, oparent
>
> IDL> print, o->getfullidentifier()
>
> /PARENT/MYOBJECT
>
> IDL> help, ograndparent->getbyidentifier('/parent/myobject')
>
> <Expression> OBJREF = <ObjHeapVar10(IDLITCOMPONENT)>
>
> The key is to set the IDENTIFIER keyword when you create your objects. As
> long as your objects are a subclass of IDLitComponent, and your containers
> are IDLitContainer, then everything should just work, and you shouldn't need
> any of the iTools framework.
>
> -Chris
>
> ITT Visual Information Solutions

Cool. And IDLitContainer::findIdentifiers has a nice searching capability.

Mike
--
www.michaelgalloy.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: is there a command in IDL like bitget command in matlab?
Next Topic: is there a function or command in IDL like the "bitget" in matlab?

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

Current Time: Sat Oct 11 20:29:16 PDT 2025

Total time taken to generate the page: 0.96097 seconds