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

Diff for /pegasus/src/Pegasus/Common/CIMType.h between version 1.11 and 1.13

version 1.11, 2002/02/05 10:23:09 version 1.13, 2002/03/12 19:41:19
Line 23 
Line 23 
 // Author: Mike Brasher (mbrasher@bmc.com) // Author: Mike Brasher (mbrasher@bmc.com)
 // //
 // Modified By: // Modified By:
   //         Ramnath Ravindran (Ramnath.Ravindran@compaq.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 90 
Line 91 
         REFERENCE         REFERENCE
     };     };
  
       /// Constructor
     CIMType() : _tag(NONE) { }     CIMType() : _tag(NONE) { }
  
       ///  Constructor
     CIMType(Tag tag) : _tag(tag) { }     CIMType(Tag tag) : _tag(tag) { }
  
       /// Constructor
     PEGASUS_EXPLICIT CIMType(Uint32 tag) : _tag(Tag(tag)) { }     PEGASUS_EXPLICIT CIMType(Uint32 tag) : _tag(Tag(tag)) { }
  
       ///  Constructor
     CIMType(const CIMType& x) : _tag(x._tag) { }     CIMType(const CIMType& x) : _tag(x._tag) { }
  
       /// operator =
     CIMType& operator=(Tag tag) { _tag = tag; return *this; }     CIMType& operator=(Tag tag) { _tag = tag; return *this; }
  
       ///
     operator Tag() const { return _tag; }     operator Tag() const { return _tag; }
  
       ///
     Boolean equal(const CIMType& x) const { return x._tag == _tag; }     Boolean equal(const CIMType& x) const { return x._tag == _tag; }
  
 private: private:
Line 143 
Line 151 
  
 inline Boolean operator==(CIMType::Tag x, CIMType::Tag y) inline Boolean operator==(CIMType::Tag x, CIMType::Tag y)
 { {
           //not supported on Tru64
         return x == y;         return x == y;
   
   #ifdef PEGASUS_PLATFORM_TRU64_ALPHA_DECCXX
           return operator==(x, y);
   #endif
 } }
  
 // Returns a string representation of the given type. The string // Returns a string representation of the given type. The string


Legend:
Removed from v.1.11  
changed lines
  Added in v.1.13

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2