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

Diff for /pegasus/src/Pegasus/Common/CIMType.cpp between version 1.9 and 1.12

version 1.9, 2002/05/15 05:35:01 version 1.12, 2002/05/17 19:29:40
Line 47 
Line 47 
 { {
 } }
  
 #if 0  
 CIMType::CIMType(Uint32 tag) : _tag(Tag(tag))  
 {  
 }  
 #endif  
   
 CIMType::CIMType(const CIMType& x) : _tag(x._tag) CIMType::CIMType(const CIMType& x) : _tag(x._tag)
 { {
 } }
Line 70 
Line 64 
  
 Boolean CIMType::equal(const CIMType& x) const Boolean CIMType::equal(const CIMType& x) const
 { {
     return x._tag == _tag;      return Uint32(x._tag) == Uint32(_tag);
 } }
  
 const char* CIMType::toString() const const char* CIMType::toString() const
Line 78 
Line 72 
     return _typeStrings[Uint32(_tag)];     return _typeStrings[Uint32(_tag)];
 } }
  
   
   Boolean operator==(CIMType x, CIMType y)
   {
       return x.equal(y);
   }
   
   Boolean operator!=(CIMType x, CIMType y)
   {
       return !x.equal(y);
   }
   
   Boolean operator==(CIMType x, CIMType::Tag y)
   {
       return x.equal(y);
   }
   
   Boolean operator==(CIMType::Tag x, CIMType y)
   {
       return y.equal(x);
   }
   
   Boolean operator!=(CIMType x, CIMType::Tag y)
   {
       return !x.equal(y);
   }
   
   Boolean operator!=(CIMType::Tag x, CIMType y)
   {
       return !y.equal(x);
   }
   
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2