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

Diff for /pegasus/src/Pegasus/Repository/CIMRepository.cpp between version 1.37 and 1.38

version 1.37, 2001/07/01 21:40:39 version 1.38, 2001/07/02 01:50:10
Line 709 
Line 709 
     Boolean includeClassOrigin,     Boolean includeClassOrigin,
     const Array<String>& propertyList)     const Array<String>& propertyList)
 { {
   PEGASUS_TRACE;
     Array<CIMReference> names = associatorNames(     Array<CIMReference> names = associatorNames(
         nameSpace,         nameSpace,
         objectName,         objectName,
Line 717 
Line 718 
         role,         role,
         resultRole);         resultRole);
  
   PEGASUS_OUT(names.size());
   PEGASUS_TRACE;
     Array<CIMObjectWithPath> result;     Array<CIMObjectWithPath> result;
  
     for (Uint32 i = 0, n = names.size(); i < n; i++)     for (Uint32 i = 0, n = names.size(); i < n; i++)
     {     {
   PEGASUS_TRACE;
         String tmpNameSpace = names[i].getNameSpace();         String tmpNameSpace = names[i].getNameSpace();
  
         if (tmpNameSpace.size() == 0)         if (tmpNameSpace.size() == 0)
Line 768 
Line 772 
     String assocFileName = _MakeAssocPath(nameSpace, _repositoryRoot);     String assocFileName = _MakeAssocPath(nameSpace, _repositoryRoot);
     Array<String> associatorNames;     Array<String> associatorNames;
  
     if (!AssocTable::getAssociatorNames(      // The return value of this function is ignored since it is okay for
       // the given object not to have any associators (in this case we just
       // return a zero-sized array of associators.
   
       AssocTable::getAssociatorNames(
         assocFileName,         assocFileName,
         objectName.toString(),         objectName.toString(),
         assocClass,         assocClass,
         resultClass,         resultClass,
         role,         role,
         resultRole,         resultRole,
         associatorNames))          associatorNames);
     {  
         throw PEGASUS_CIM_EXCEPTION(FAILED, "associators not found for: "  
             + objectName.toString());  
     }  
  
     Array<CIMReference> result;     Array<CIMReference> result;
   
     for (Uint32 i = 0, n = associatorNames.size(); i < n; i++)     for (Uint32 i = 0, n = associatorNames.size(); i < n; i++)
         result.append(associatorNames[i]);         result.append(associatorNames[i]);
  


Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2