version 1.11, 2003/05/11 22:35:00
|
version 1.12, 2003/05/12 15:20:27
|
|
|
| |
Array<String> fields; | Array<String> fields; |
Boolean found = false; | Boolean found = false; |
//for (Uint32 i = 0 ; i < classNameList.size() ; i++) |
|
//{ |
|
// cout << " KSTest ReferencedNames assoc Classname " << classNameList[i].getString() << endl; |
|
//} |
|
// For each line in the table: |
|
| |
|
// For each line in the table: |
while (_GetRecord(is, fields)) | while (_GetRecord(is, fields)) |
{ | { |
CIMName className; |
|
for (Uint32 i = 0; i < classNameList.size(); i++) | for (Uint32 i = 0; i < classNameList.size(); i++) |
{ | { |
if (_MatchNoCase(classNameList[i].getString(), fields[FROM_CLASS_NAME_INDEX]) && | if (_MatchNoCase(classNameList[i].getString(), fields[FROM_CLASS_NAME_INDEX]) && |
//if (_ContainsClass(classList, fields[FROM_CLASS_NAME_INDEX]) && |
|
_MatchNoCase(fields[ASSOC_CLASS_NAME_INDEX], | _MatchNoCase(fields[ASSOC_CLASS_NAME_INDEX], |
resultClass.getString()) && | resultClass.getString()) && |
_MatchNoCase(fields[FROM_PROPERTY_NAME_INDEX], role)) | _MatchNoCase(fields[FROM_PROPERTY_NAME_INDEX], role)) |
{ | { |
if (!Contains(referencedNames, className)) |
if (!Contains(referencedNames, classNameList[i])) |
referencedNames.append(className); |
{ |
|
referencedNames.append(classNameList[i]); |
|
} |
found = true; | found = true; |
} | } |
} | } |