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

Diff for /pegasus/src/Pegasus/Common/CIMInstance.cpp between version 1.27 and 1.28

version 1.27, 2002/07/23 17:01:48 version 1.28, 2002/07/30 16:14:53
Line 68 
Line 68 
     Inc(_rep);     Inc(_rep);
 } }
  
 CIMInstance::CIMInstance(const String& className)  CIMInstance::CIMInstance(const CIMName& className)
 { {
     _rep = new CIMInstanceRep(className);      _rep = new CIMInstanceRep(CIMObjectPath(String::EMPTY, CIMNamespaceName(), className));
 } }
  
 CIMInstance::CIMInstance(CIMInstanceRep* rep) CIMInstance::CIMInstance(CIMInstanceRep* rep)
Line 93 
Line 93 
     Dec(_rep);     Dec(_rep);
 } }
  
 const String& CIMInstance::getClassName() const  const CIMName& CIMInstance::getClassName() const
 { {
     _checkRep();     _checkRep();
     return _rep->getClassName();     return _rep->getClassName();
Line 118 
Line 118 
     return *this;     return *this;
 } }
  
 Uint32 CIMInstance::findQualifier(const String& name) const  Uint32 CIMInstance::findQualifier(const CIMName& name) const
 { {
     _checkRep();     _checkRep();
     return _rep->findQualifier(name);     return _rep->findQualifier(name);
Line 149 
Line 149 
     return *this;     return *this;
 } }
  
 Uint32 CIMInstance::findProperty(const String& name) const  Uint32 CIMInstance::findProperty(const CIMName& name) const
 { {
     _checkRep();     _checkRep();
     return _rep->findProperty(name);     return _rep->findProperty(name);
Line 250 
Line 250 
     Inc(_rep);     Inc(_rep);
 } }
  
 CIMConstInstance::CIMConstInstance(const String& className)  CIMConstInstance::CIMConstInstance(const CIMName& className)
 { {
     _rep = new CIMInstanceRep(className);      _rep = new CIMInstanceRep(CIMObjectPath(String::EMPTY, CIMNamespaceName(), className));
 } }
  
 CIMConstInstance& CIMConstInstance::operator=(const CIMConstInstance& x) CIMConstInstance& CIMConstInstance::operator=(const CIMConstInstance& x)
Line 280 
Line 280 
     Dec(_rep);     Dec(_rep);
 } }
  
 const String& CIMConstInstance::getClassName() const  const CIMName& CIMConstInstance::getClassName() const
 { {
     _checkRep();     _checkRep();
     return _rep->getClassName();     return _rep->getClassName();
Line 292 
Line 292 
     return _rep->getPath();     return _rep->getPath();
 } }
  
 Uint32 CIMConstInstance::findQualifier(const String& name) const  Uint32 CIMConstInstance::findQualifier(const CIMName& name) const
 { {
     _checkRep();     _checkRep();
     return _rep->findQualifier(name);     return _rep->findQualifier(name);
Line 310 
Line 310 
     return _rep->getQualifierCount();     return _rep->getQualifierCount();
 } }
  
 Uint32 CIMConstInstance::findProperty(const String& name) const  Uint32 CIMConstInstance::findProperty(const CIMName& name) const
 { {
     _checkRep();     _checkRep();
     return _rep->findProperty(name);     return _rep->findProperty(name);


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2