(file) Return to AssocClassTable.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Repository

Diff for /pegasus/src/Pegasus/Repository/AssocClassTable.cpp between version 1.11 and 1.12

version 1.11, 2003/05/11 22:35:00 version 1.12, 2003/05/12 15:20:27
Line 370 
Line 370 
  
     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;
             }             }
         }         }


Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2