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

version 1.7, 2001/07/10 22:31:10 version 1.8, 2002/05/15 04:03:21
Line 22 
Line 22 
 // //
 // Author: Mike Brasher (mbrasher@bmc.com) // Author: Mike Brasher (mbrasher@bmc.com)
 // //
 // Modified By:  // Modified By: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 39 
Line 39 
  
 static const Uint32 _NUM_TYPES = sizeof(_typeStrings) / sizeof(_typeStrings[0]); static const Uint32 _NUM_TYPES = sizeof(_typeStrings) / sizeof(_typeStrings[0]);
  
 const char* TypeToString(CIMType type)  CIMType::CIMType() : _tag(NONE)
 { {
     return _typeStrings[Uint32(CIMType::Tag(type))];  }
   
   CIMType::CIMType(Tag tag) : _tag(tag)
   {
   }
   
   #if 0
   CIMType::CIMType(Uint32 tag) : _tag(Tag(tag))
   {
   }
   #endif
   
   CIMType::CIMType(const CIMType& x) : _tag(x._tag)
   {
   }
   
   CIMType& CIMType::operator=(Tag tag)
   {
       _tag = tag;
       return *this;
   }
   
   CIMType::operator Tag() const
   {
       return _tag;
   }
   
   Boolean CIMType::equal(const CIMType& x) const
   {
       return x._tag == _tag;
   }
   
   const char* CIMType::toString() const
   {
       return _typeStrings[Uint32(_tag)];
 } }
  
 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