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

Diff for /pegasus/src/Pegasus/Common/Print.cpp between version 1.9 and 1.10

version 1.9, 2012/12/13 14:38:55 version 1.10, 2014/08/27 23:10:08
Line 30 
Line 30 
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #include "Print.h" #include "Print.h"
   #include "Pegasus_inl.h"
  
 PEGASUS_USING_STD; PEGASUS_USING_STD;
  
Line 488 
Line 489 
 { {
     os << Ind(n) << "CIMProperty" << endl;     os << Ind(n) << "CIMProperty" << endl;
     os << Ind(n) << "{" << endl;     os << Ind(n) << "{" << endl;
   
       if (x.getQualifierCount() != 0)
       {
           for (Uint32 i = 0; i < x.getQualifierCount(); i++)
           {
               PrintQualifier(os, x.getQualifier(i), n + 1);
           }
       }
     os << Ind(n) << "    name=" << x.getName().getString() << endl;     os << Ind(n) << "    name=" << x.getName().getString() << endl;
  
     os << Ind(n) << "    CIMType=" << cimTypeToString(x.getType());     os << Ind(n) << "    CIMType=" << cimTypeToString(x.getType());
   
     if (x.isArray())     if (x.isArray())
     {     {
         os << " Array";         os << " Array";
Line 516 
Line 526 
 { {
     os << Ind(n) << "CIMInstance" << endl;     os << Ind(n) << "CIMInstance" << endl;
     os << Ind(n) << "{" << endl;     os << Ind(n) << "{" << endl;
   
       if (x.getQualifierCount() != 0)
       {
           for (Uint32 i = 0; i < x.getQualifierCount(); i++)
           {
               PrintQualifier(os, x.getQualifier(i), n + 1);
           }
       }
   
     os << Ind(n) << "    class=" << x.getClassName().getString() << endl;     os << Ind(n) << "    class=" << x.getClassName().getString() << endl;
  
     PrintObjectPath(os, x.getPath(), n + 1);     PrintObjectPath(os, x.getPath(), n + 1);
  
   
     for (Uint32 i = 0; i < x.getPropertyCount(); i++)     for (Uint32 i = 0; i < x.getPropertyCount(); i++)
     {     {
         PrintProperty(os, x.getProperty(i), n + 1);         PrintProperty(os, x.getProperty(i), n + 1);
Line 544 
Line 564 
     os << Ind(n) << "}" << endl;     os << Ind(n) << "}" << endl;
 } }
  
   void PEGASUS_COMMON_LINKAGE PrintQualifier(
       PEGASUS_STD(ostream)& os,
       const CIMConstQualifier& x,
       Uint32 n)
   {
       os << Ind(n) << "CIMQualifier" << endl;
       os << Ind(n) << "{" << endl;
       os << Ind(n) << "    name=" << x.getName().getString() << endl;
       os << Ind(n) << "    type=" << _typeStrings[x.getType()] << endl;
       os << Ind(n) << "    flavor=" << x.getFlavor().toString() << endl;
       os << Ind(n) << "    isArray=" << boolToString(x.isArray()) << endl;
       PrintValue(os, x.getValue(), n + 1);
       os << Ind(n) << "}" << endl;
   }
   
 PEGASUS_COMMON_LINKAGE void PrintParamValue( PEGASUS_COMMON_LINKAGE void PrintParamValue(
     PEGASUS_STD(ostream)& os,     PEGASUS_STD(ostream)& os,
     const CIMParamValue& x,     const CIMParamValue& x,
Line 623 
Line 658 
     Uint32)     Uint32)
 { {
 } }
   
   PEGASUS_COMMON_LINKAGE void PrintQualifierDecl(
       PEGASUS_STD(ostream)&,
       const CIMConstQualifier&,
       Uint32)
   {
   }
 #endif /* defined(PEGASUS_DEBUG) */ #endif /* defined(PEGASUS_DEBUG) */
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2