![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Link distinction in baseline set Topic Summary: Created On: 10-Aug-2004 12:22 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Frank, I think you need to use the following function to get the baseline information of the source of the link. ModuleVersion sourceVersion(Link|LinkRef l) Then use the following function to get the baseline from the ModuleVersion. Baseline baseline(ModuleVersion modver) Best Regards, Antonio. | |
![]() |
|
Hi
I have one baselined module (A) in a baselineset. Also there is another modul (B) in the baseline set which is not baselined. Between these modules are links A(baseline) -> B and A(current) -> B. I tried to follow the links back to the baselined modul, but obviously it doesn't work. I'm not able to distinguish between links from the current and the baselined modul. Can anyone advice me? Thanks My code example: (should count the links to the baselined mod, but prints always zero) Object o Module m Module msrc = null LinkRef lnk string srcmn Baseline b=null int i = 0 // links from baseline int j = 0 // links from baseline int k = 0 // all links m = current Module for o in m do { for lnk in (all (o <- "*")) do { srcmn = source(lnk) msrc = read(srcmn, false) b = baselineInfo(msrc) if(isBaseline(msrc)) { i++ } if(b!=null) { print srcmn "\n" j++ } close msrc k++ } } print i "\n" print j "\n" print k ------------------------- Frank |
|
![]() |
|
![]() |
|
annotation:
i and j are zero, k counts right ------------------------- Frank |
|
![]() |
|
![]() |
|
Frank,
I think you need to use the following function to get the baseline information of the source of the link. ModuleVersion sourceVersion(Link|LinkRef l) Then use the following function to get the baseline from the ModuleVersion. Baseline baseline(ModuleVersion modver) Best Regards, Antonio. |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Link distinction in baseline set
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.