(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.7 and 1.8

version 1.7, 2009/11/30 16:49:46 version 1.8, 2011/09/12 22:32:11
Line 35 
Line 35 
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
   // Build the functions in this file ONLY in debug mode.
 #if defined(PEGASUS_DEBUG) #if defined(PEGASUS_DEBUG)
  
 struct Ind struct Ind
Line 488 
Line 489 
     os << Ind(n) << "CIMProperty" << endl;     os << Ind(n) << "CIMProperty" << endl;
     os << Ind(n) << "{" << endl;     os << Ind(n) << "{" << endl;
     os << Ind(n) << "    name=" << x.getName().getString() << endl;     os << Ind(n) << "    name=" << x.getName().getString() << endl;
   
       os << Ind(n) << "    CIMType=" << cimTypeToString(x.getType());
       if (x.isArray())
       {
           os << " Array";
           if (x.getArraySize() != 0)
           {
               os << ", size=" << x.getArraySize();
           }
           os << endl;
       }
       else
       {
           os << " Scalar" << endl;
       }
   
     PrintValue(os, x.getValue(), n + 1);     PrintValue(os, x.getValue(), n + 1);
     os << Ind(n) << "}" << endl;     os << Ind(n) << "}" << endl;
 } }
Line 555 
Line 572 
     os << Ind(n) << "}" << endl;     os << Ind(n) << "}" << endl;
 } }
  
   #else  // compile empty functions
   
   
   PEGASUS_COMMON_LINKAGE void PrintValue(
       PEGASUS_STD(ostream)& os,
       const CIMValue& x,
       Uint32 n)
   {
   }
   
   PEGASUS_COMMON_LINKAGE void PrintProperty(
       PEGASUS_STD(ostream)& os,
       const CIMConstProperty& x,
       Uint32 n)
   {
   }
   
   PEGASUS_COMMON_LINKAGE void PrintObjectPath(
       PEGASUS_STD(ostream)& os,
       const CIMObjectPath& x,
       Uint32 n)
   {
   }
   
   PEGASUS_COMMON_LINKAGE void PrintInstance(
       PEGASUS_STD(ostream)& os,
       const CIMConstInstance& cimInstance,
       Uint32 n)
   {
   }
   
   PEGASUS_COMMON_LINKAGE void PrintQualifierDecl(
       PEGASUS_STD(ostream)& os,
       const CIMConstQualifierDecl& x,
       Uint32 n)
   {
   }
   
   PEGASUS_COMMON_LINKAGE void PrintParamValue(
       PEGASUS_STD(ostream)& os,
       const CIMParamValue& x,
       Uint32 n)
   {
   }
   
   PEGASUS_COMMON_LINKAGE void PrintParamValueArray(
       PEGASUS_STD(ostream)& os,
       const Array<CIMParamValue>& x,
       Uint32 n)
   {
   }
 #endif /* defined(PEGASUS_DEBUG) */ #endif /* defined(PEGASUS_DEBUG) */
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2