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

Diff for /pegasus/src/Pegasus/Common/CIMObjectPath.cpp between version 1.38 and 1.39

version 1.38, 2004/05/18 11:03:38 version 1.39, 2004/05/31 10:47:41
Line 28 
Line 28 
 // 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)
 //              Amit K Arora, IBM (amita@in.ibm.com)  
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 40 
Line 39 
 #include "CIMObjectPath.h" #include "CIMObjectPath.h"
 #include "Indentor.h" #include "Indentor.h"
 #include "CIMName.h" #include "CIMName.h"
   #include "Destroyer.h"
 #include "XmlWriter.h" #include "XmlWriter.h"
 #include "XmlReader.h" #include "XmlReader.h"
 #include "ArrayInternal.h" #include "ArrayInternal.h"
Line 177 
Line 177 
 }; };
  
  
 CIMKeyBinding::CIMKeyBinding():  CIMKeyBinding::CIMKeyBinding()
             _rep(new CIMKeyBindingRep())  
 { {
       _rep = new CIMKeyBindingRep();
 } }
  
 CIMKeyBinding::CIMKeyBinding(const CIMKeyBinding& x):  CIMKeyBinding::CIMKeyBinding(const CIMKeyBinding& x)
             _rep(new CIMKeyBindingRep(*(x._rep.get())))  
 { {
       _rep = new CIMKeyBindingRep(*x._rep);
 } }
  
 CIMKeyBinding::CIMKeyBinding(const CIMName& name, const String& value, Type type) :  CIMKeyBinding::CIMKeyBinding(const CIMName& name, const String& value, Type type)
             _rep(new CIMKeyBindingRep(name, value, type))  
 { {
       _rep = new CIMKeyBindingRep(name, value, type);
 } }
  
 CIMKeyBinding::CIMKeyBinding(const CIMName& name, const CIMValue& value) CIMKeyBinding::CIMKeyBinding(const CIMName& name, const CIMValue& value)
Line 220 
Line 220 
         break;         break;
     }     }
  
     _rep.reset(new CIMKeyBindingRep(name, kbValue, kbType));      _rep = new CIMKeyBindingRep(name, kbValue, kbType);
 } }
  
 CIMKeyBinding::~CIMKeyBinding() CIMKeyBinding::~CIMKeyBinding()
 { {
       delete _rep;
 } }
  
 CIMKeyBinding& CIMKeyBinding::operator=(const CIMKeyBinding& x) CIMKeyBinding& CIMKeyBinding::operator=(const CIMKeyBinding& x)
 { {
     CIMKeyBindingRep *tmp = new CIMKeyBindingRep(*x._rep.get());      *_rep = *x._rep;
     _rep.reset(tmp);  
     return *this;     return *this;
 } }
  
Line 521 
Line 521 
 }; };
  
  
 CIMObjectPath::CIMObjectPath() :  CIMObjectPath::CIMObjectPath()
          _rep(new CIMObjectPathRep())  
 { {
       _rep = new CIMObjectPathRep();
 } }
  
 CIMObjectPath::CIMObjectPath(const CIMObjectPath& x) :  CIMObjectPath::CIMObjectPath(const CIMObjectPath& x)
          _rep(new CIMObjectPathRep(*x._rep.get()))  
 { {
       _rep = new CIMObjectPathRep(*x._rep);
 } }
  
 CIMObjectPath::CIMObjectPath(const String& objectName) CIMObjectPath::CIMObjectPath(const String& objectName)
Line 538 
Line 537 
     CIMObjectPath tmpRef;     CIMObjectPath tmpRef;
     tmpRef.set(objectName);     tmpRef.set(objectName);
  
     _rep.reset(new CIMObjectPathRep(*tmpRef._rep.get()));      _rep = new CIMObjectPathRep(*tmpRef._rep);
 } }
  
 CIMObjectPath::CIMObjectPath( CIMObjectPath::CIMObjectPath(
Line 551 
Line 550 
     CIMObjectPath tmpRef;     CIMObjectPath tmpRef;
     tmpRef.set(host, nameSpace, className, keyBindings);     tmpRef.set(host, nameSpace, className, keyBindings);
  
     _rep.reset(new CIMObjectPathRep(*tmpRef._rep.get()));      _rep = new CIMObjectPathRep(*tmpRef._rep);
 } }
  
 CIMObjectPath::~CIMObjectPath() CIMObjectPath::~CIMObjectPath()
 { {
       delete _rep;
 } }
  
 CIMObjectPath& CIMObjectPath::operator=(const CIMObjectPath& x) CIMObjectPath& CIMObjectPath::operator=(const CIMObjectPath& x)
 { {
     CIMObjectPathRep *tmp = new CIMObjectPathRep(*x._rep.get());      *_rep = *x._rep;
     _rep.reset(tmp);  
     return *this;     return *this;
 } }
  


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2