Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Searching for Objects
Topic Summary:
Created On: 13-Mar-2003 19:55
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 13-Mar-2003 19:55
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 14-Mar-2003 14:50
User is offline View Users Profile Print this message


Dale Reed

Posts: 11
Joined: 13-Sep-2002

.

Edited: 14-Mar-2003 at 17:03 by Dale Reed
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.