![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: no data entry in skip list Topic Summary: Created On: 9-Aug-2005 09:01 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
hi,
I am trying to use a skiplist to search the current module for modules to build links to. To do so, I am looking for a string in a specific attribute and then search the project for a module name that contains this string.
Now I have the specific case that I know, there is only one other module to link to. I tried the following
string sVerName = name(mLnkTgt) // current Module
int iVerLength = length(sVerName)
string s = "SPE-" sVerName[iVerLength-4:iVerLength-1] // Identifier to find other module
print s "\t" //prints the identifier
sModName = getModName(s) //delivers the modules full name by searching the project
if(null sModName) { // write errormessage if null was returned by getModName
errorfile << "No module found for searchstring \"" << s << "\"()\n"
}
print sModName //prints the full name
bool b = put (slModNames, s, sModName) //entry for skip list (->b == true)
string sSrcName = ""
find(slModNames, s, sSrcName)
Until now, everything works fine, but the find statement returns an empty string. I really don't know why. Could use a little help.
Hendrik Preiß
|
|
![]() |
|
![]() |
|
That was hard to read! :-)
Just a hunch, but have you created your Skip list using createString rather than create? e.g. slModNames = createString ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
oh, hmm, well, next time, I will use the attach option
![]() |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
no data entry in skip list
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.