![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Searching for Objects Topic Summary: Created On: 13-Mar-2003 19:55 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I do a great deal of object manipulation with DXL, and am looking for faster ways to do object searches.
I can do the standard search using "for obj in entire mod do", then seeing if that;s the object I want. An alternative that seems a trifle faster is to create a skip list of all objects (and I guess their AbsNo), then "find" in the skip list. I notice, however, that when searching for one object is almost always a little bit after the last one I just looked for. So I really want some sort of "next(obj) function, which should reduce how many objects I need to search through before I find the one I want. Unfortunately, all the various "next" commands (including "siblings" and "child") seem to only work on the current display set, which does me no good when looking for ALL the objects (including table headers etc), nor in modules opened invisibly. Anybody got ideas on a "fast" object find algorithm? - Louie |
|
![]() |
|
![]() |
|
.
Edited: 14-Mar-2003 at 17:03 by Dale Reed |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Searching for Objects
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.