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

Diff for /pegasus/src/Pegasus/Common/CIMObject.cpp between version 1.28 and 1.34

version 1.28, 2002/08/27 23:38:44 version 1.34, 2005/02/05 22:59:23
Line 1 
Line 1 
 //%/////////////////////////////////////////////////////////////////////////////  //%2005////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,  // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 // The Open Group, Tivoli Systems  // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
   // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
   // IBM Corp.; EMC Corporation, The Open Group.
   // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
   // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // EMC Corporation; VERITAS Software Corporation; The Open Group.
 // //
 // Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to // of this software and associated documentation files (the "Software"), to
Line 26 
Line 32 
 // Modified By: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) // Modified By: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)
 //              Carol Ann Krug Graves, Hewlett-Packard Company //              Carol Ann Krug Graves, Hewlett-Packard Company
 //                  (carolann_graves@hp.com) //                  (carolann_graves@hp.com)
   //              Dave Sudlik, IBM (dsudlik@us.ibm.com)
   //              David Dillard, VERITAS Software Corp.
   //                  (david.dillard@veritas.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 186 
Line 195 
     return (_rep == 0)? true : false;     return (_rep == 0)? true : false;
 } }
  
   String CIMObject::toString () const
   {
       Array<char> out;
   
       _checkRep();
       _rep->toXml(out);
   
       return out.getData();
   }
   
 Boolean CIMObject::isClass () const Boolean CIMObject::isClass () const
 { {
     try     try
Line 193 
Line 212 
         const CIMClass c (*this);         const CIMClass c (*this);
         return true;         return true;
     }     }
     catch (DynamicCastFailedException)      catch (DynamicCastFailedException&)
     {     {
         return false;         return false;
     }     }
Line 206 
Line 225 
         const CIMInstance i (*this);         const CIMInstance i (*this);
         return true;         return true;
     }     }
     catch (DynamicCastFailedException)      catch (DynamicCastFailedException&)
     {     {
         return false;         return false;
     }     }
Line 340 
Line 359 
     return (_rep == 0)? true : false;     return (_rep == 0)? true : false;
 } }
  
   String CIMConstObject::toString () const
   {
       Array<char> out;
   
       _checkRep();
       _rep->toXml(out);
   
       return out.getData();
   }
   
 Boolean CIMConstObject::isClass() const Boolean CIMConstObject::isClass() const
 { {
     try     try
Line 347 
Line 376 
         const CIMConstClass c(*this);         const CIMConstClass c(*this);
         return true;         return true;
     }     }
     catch (DynamicCastFailedException)      catch (DynamicCastFailedException&)
     {     {
         return false;         return false;
     }     }
Line 360 
Line 389 
         const CIMConstInstance i(*this);         const CIMConstInstance i(*this);
         return true;         return true;
     }     }
     catch (DynamicCastFailedException)      catch (DynamicCastFailedException&)
     {     {
         return false;         return false;
     }     }


Legend:
Removed from v.1.28  
changed lines
  Added in v.1.34

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2