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

Diff for /pegasus/src/Pegasus/Common/CIMClassRep.cpp between version 1.41 and 1.42

version 1.41, 2002/05/15 10:34:28 version 1.42, 2002/05/15 12:28:18
Line 34 
Line 34 
 #include "CIMQualifierNames.h" #include "CIMQualifierNames.h"
 #include "CIMScope.h" #include "CIMScope.h"
 #include "XmlWriter.h" #include "XmlWriter.h"
   #include "MofWriter.h"
 #include <Pegasus/Common/Tracer.h> #include <Pegasus/Common/Tracer.h>
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
Line 531 
Line 532 
         // there is an error in getclass that does not         // there is an error in getclass that does not
         // test the localOnly flag.         // test the localOnly flag.
         if (!_properties[i].getPropagated())         if (!_properties[i].getPropagated())
             _properties[i].toMof(out);              MofWriter::appendPropertyElement(out, _properties[i]);
     }     }
  
     // Format the Methods:  for non-propagated methods     // Format the Methods:  for non-propagated methods
     for (Uint32 i = 0, n = _methods.size(); i < n; i++)     for (Uint32 i = 0, n = _methods.size(); i < n; i++)
     {     {
         if (!_methods[i].getPropagated())         if (!_methods[i].getPropagated())
         _methods[i].toMof(out);              MofWriter::appendMethodElement(out, _methods[i]);
     }     }
  
     // Class closing element:     // Class closing element:
     out << "\n};\n";     out << "\n};\n";
 } }
  
 void CIMClassRep::printMof(PEGASUS_STD(ostream) &os) const  
 {  
     Array<Sint8> tmp;  
     toMof(tmp);  
     tmp.append('\0');  
     os << tmp.getData() << PEGASUS_STD(endl);  
 }  
   
  
 CIMClassRep::CIMClassRep() CIMClassRep::CIMClassRep()
 { {


Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2