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: Difference between read, load, data ?
Topic Summary:
Created On: 30-Apr-2008 16:15
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.
 30-Apr-2008 16:15
User is offline View Users Profile Print this message


David Jakad

Posts: 94
Joined: 20-Jul-2007

What are the differences between the following:

Module read(string name, bood display)
Module data(ModuleVersion modver)
Module load(ModuleVersion modver, bool display)
Module load(Module m, Baseline b, bool display)

To me, they all seem to do basically the same thing, i.e., load a module. My understanding is that read always opens the current version of a module, whereas data and load can be used to load a baseline also. But, are there any other differences that aren't obvious?

Edited: 30-Apr-2008 at 16:18 by David Jakad
Report this to a Moderator Report this to a Moderator
 5-May-2008 15:01
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi David,

you are right:
read - will open always the current version of Module.
data - will return Module handle, if Module version is already opened
load - will load any module version

so you may come to these equations:

read (szModule, bVisible) == load (moduleVersion szModule, bVisible)
load (szModule, bBaseline, bVisible) == load (moduleVersion (szModule, bBaseline), bVisible)



A usefull statement using data would be:

Module m = data (mv);
if (null m) m = load (mv, false);


This will open the Module version, if it was not open before ....


Hope that helps you a little bit to understand ...

Greetings
Reik

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
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.